From 211a1d9fe4cc7abc59fc88703fe6c70986d33f9e Mon Sep 17 00:00:00 2001 From: "X.Mo" Date: Tue, 30 Apr 2024 10:14:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E5=92=8C=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D=E5=A4=9A=E6=9D=A1=E6=95=B0=E6=8D=AE=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=80=89=E6=8B=A9=E9=A1=B9=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ma-crud/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ma-crud/index.vue b/src/components/ma-crud/index.vue index caff3376..6df10025 100644 --- a/src/components/ma-crud/index.vue +++ b/src/components/ma-crud/index.vue @@ -664,6 +664,7 @@ const deletesMultipleAction = async () => { options.value.afterDelete(response) } response.success && Message.success(response.message || `删除成功!`) + selecteds.value = [] await refresh() } else { Message.error('至少选择一条数据') @@ -674,6 +675,7 @@ const recoverysMultipleAction = async () => { if (selecteds.value && selecteds.value.length > 0) { const response = await options.value.recovery.api({ ids: selecteds.value }) response.success && Message.success(response.message || `恢复成功!`) + selecteds.value = [] await refresh() } else { Message.error('至少选择一条数据')