From 59e6432f38fba73f369bcf8f8b643ef9adf54ff7 Mon Sep 17 00:00:00 2001 From: Mrtangl <1807746833@qq.com> Date: Mon, 18 Apr 2022 15:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/components/material-select/hook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()