From 48c51e26b14d532daa724d4ee921c4b84f74d5a0 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 14 Nov 2023 16:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ImportForm/src/ImportForm.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ImportForm/src/ImportForm.vue b/src/components/ImportForm/src/ImportForm.vue index a1561ebc0..9a1e25366 100644 --- a/src/components/ImportForm/src/ImportForm.vue +++ b/src/components/ImportForm/src/ImportForm.vue @@ -178,9 +178,12 @@ const submitForm = async () => { const emits = defineEmits(['success']) const submitFormSuccess = (response: any) => { formLoading.value = true + console.log(response) if(response){ if(response.code == 500){ + uploadRef.value!.clearFiles() message.error('导入失败') + formLoading.value = false return; } else if (response.data.errorCount > 0) { message.confirm('文件中有部分数据导入失败,是否下载失败数据?').then(() => {