From ebf10826d6bba0d3b542dce64531aa71bc2fd77e Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 23 Nov 2023 11:00:29 +0800
Subject: [PATCH] fix:导出修改
---
src/views/toCarryOutLegislativeReforms/reform/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/toCarryOutLegislativeReforms/reform/index.vue b/src/views/toCarryOutLegislativeReforms/reform/index.vue
index cdeb5b5..3451f89 100644
--- a/src/views/toCarryOutLegislativeReforms/reform/index.vue
+++ b/src/views/toCarryOutLegislativeReforms/reform/index.vue
@@ -332,15 +332,20 @@
this.$confirm('������������������������������?', '������', {
confirmButtonText: '������������',
cancelButtonText: '������������',
+ distinguishCancelAndClose: true,
type: 'warning'
})
.then(() => {
this.loading = true
this.exportData()
})
- .catch(() => {
- this.loading = false
- this.exportData()
+ .catch(action => {
+ if (action === 'cancel') {
+ this.loading = false
+ this.exportData()
+ } else {
+ this.loading = false
+ }
})
},
exportData() {
--
Gitblit v1.8.0