n20-common-lib 1.2.14 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
},
|
|
47
47
|
waitTime: {
|
|
48
48
|
type: Number,
|
|
49
|
-
default:
|
|
49
|
+
default: 5000
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
data() {
|
|
@@ -128,6 +128,10 @@ export default {
|
|
|
128
128
|
|
|
129
129
|
downloadBlob(data, this.fileName)
|
|
130
130
|
this.pgsV = false
|
|
131
|
+
let confirmBtn = document.querySelector(
|
|
132
|
+
'.ex-waitime-msg .el-button--primary'
|
|
133
|
+
)
|
|
134
|
+
confirmBtn && confirmBtn.click()
|
|
131
135
|
})
|
|
132
136
|
},
|
|
133
137
|
// 导出取消
|
|
@@ -159,7 +163,7 @@ export default {
|
|
|
159
163
|
title: '提示',
|
|
160
164
|
message: '您的数据导出时间可能会比较长,是否继续导出?',
|
|
161
165
|
type: 'warning',
|
|
162
|
-
customClass: 'question',
|
|
166
|
+
customClass: 'question ex-waitime-msg',
|
|
163
167
|
confirmButtonText: '继续导出',
|
|
164
168
|
cancelButtonText: '取消'
|
|
165
169
|
}).catch(() => {
|