mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 21:52:48 +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) {
|
async function toMove(item?: Eps.BaseSysDepartmentEntity) {
|
||||||
let ids = [];
|
let ids: number[] = [];
|
||||||
|
|
||||||
if (item) {
|
if (item) {
|
||||||
ids = [item.id];
|
ids = [item.id!];
|
||||||
} else {
|
} else {
|
||||||
ids = Table.value?.selection.map((e) => e.id) || [];
|
ids = Table.value?.selection.map((e) => e.id) || [];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user