From d0a1198be2b7155134f04bfac38eab01315cd191 Mon Sep 17 00:00:00 2001 From: zyn Date: Thu, 23 Nov 2023 09:32:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=BC=E5=85=A5=E5=90=8E=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E8=8E=B7=E5=8F=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/hzwlComponents/importZip.vue | 5 ++--- src/pages/policyRegulation/meeting/index.vue | 2 +- src/pages/policyRegulation/policyTopics/index.vue | 2 +- .../components/RegulatoryMaterialsMain.vue | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/hzwlComponents/importZip.vue b/src/components/hzwlComponents/importZip.vue index d2bd27df7..fed1f37e9 100644 --- a/src/components/hzwlComponents/importZip.vue +++ b/src/components/hzwlComponents/importZip.vue @@ -86,12 +86,11 @@ export default { importFileSuccess(response, file) { if (response.ok) { this.$emit('update:visible', false) - // this.visible = false + this.$emit('onSuccess') this.$message({ - message: response.message, + message: response.message || response.data, type: 'success' }) - this.getData() } else { this.importFailed = true this.importForm.content = response.message diff --git a/src/pages/policyRegulation/meeting/index.vue b/src/pages/policyRegulation/meeting/index.vue index 38542e1d7..ac510035b 100644 --- a/src/pages/policyRegulation/meeting/index.vue +++ b/src/pages/policyRegulation/meeting/index.vue @@ -176,7 +176,7 @@ - + diff --git a/src/pages/policyRegulation/policyTopics/index.vue b/src/pages/policyRegulation/policyTopics/index.vue index 3ebc13d39..675e9c1e8 100644 --- a/src/pages/policyRegulation/policyTopics/index.vue +++ b/src/pages/policyRegulation/policyTopics/index.vue @@ -181,7 +181,7 @@ - + diff --git a/src/pages/policyRegulation/regulatoryMaterials/components/RegulatoryMaterialsMain.vue b/src/pages/policyRegulation/regulatoryMaterials/components/RegulatoryMaterialsMain.vue index c476d193f..150b6c5ca 100644 --- a/src/pages/policyRegulation/regulatoryMaterials/components/RegulatoryMaterialsMain.vue +++ b/src/pages/policyRegulation/regulatoryMaterials/components/RegulatoryMaterialsMain.vue @@ -199,7 +199,7 @@ - +