mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 13:42:50 +00:00
优化
This commit is contained in:
parent
433cc0595c
commit
598ff64caa
@ -313,10 +313,10 @@ function onUserAdd({ id }: Eps.BaseSysDepartmentEntity) {
|
||||
|
||||
// 移动成员
|
||||
async function toMove(item?: Eps.BaseSysDepartmentEntity) {
|
||||
let ids = [];
|
||||
let ids: number[] = [];
|
||||
|
||||
if (item) {
|
||||
ids = [item.id];
|
||||
ids = [item.id!];
|
||||
} else {
|
||||
ids = Table.value?.selection.map((e) => e.id) || [];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user