n20-common-lib 2.11.4 → 2.11.5
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
|
@@ -42,14 +42,13 @@
|
|
|
42
42
|
:percent="percent"
|
|
43
43
|
:width="width"
|
|
44
44
|
title="文件导入"
|
|
45
|
-
:
|
|
45
|
+
:show-error-export="showErrorExport"
|
|
46
46
|
:pagination="pagination"
|
|
47
47
|
:footer-btn="footer"
|
|
48
48
|
:validate-result="validateResult"
|
|
49
49
|
:validate-confirm="validateConfirm"
|
|
50
50
|
@importError="importError"
|
|
51
|
-
|
|
52
|
-
</uploadMsg>
|
|
51
|
+
/>
|
|
53
52
|
</el-upload>
|
|
54
53
|
</template>
|
|
55
54
|
|
|
@@ -328,10 +327,6 @@ export default {
|
|
|
328
327
|
this.fileUrlC = response.data
|
|
329
328
|
this.fileList = fileList
|
|
330
329
|
|
|
331
|
-
if (this.onSuccess) {
|
|
332
|
-
this.onSuccess(response, file, fileList)
|
|
333
|
-
}
|
|
334
|
-
|
|
335
330
|
if (this.msgType === 'dialog') {
|
|
336
331
|
if (response.code >= 900 || response.code === -1) {
|
|
337
332
|
this.percent = 99
|
|
@@ -339,6 +334,9 @@ export default {
|
|
|
339
334
|
} else {
|
|
340
335
|
this.percent = 100
|
|
341
336
|
this.percentType = 'success'
|
|
337
|
+
if (this.onSuccess) {
|
|
338
|
+
this.onSuccess(response, file, fileList)
|
|
339
|
+
}
|
|
342
340
|
}
|
|
343
341
|
|
|
344
342
|
this.percentMsg = response.msg || $lc('上传成功!')
|