diff --git a/admin/src/components/material-select/hook.ts b/admin/src/components/material-select/hook.ts index eead20a1..029264c8 100644 --- a/admin/src/components/material-select/hook.ts +++ b/admin/src/components/material-select/hook.ts @@ -114,7 +114,7 @@ export function useFile(cateId: Ref, type: Ref, limit: Ref) let ids = select.value.map((item: any) => item.id) apiFileMove({ ids, - cid: moveId.value + cid: moveId.value || 0 }).then(res => { moveId.value = 0 getFileList()