Commit 6882468f by 李伟康

v4.22.1需求

1 parent fe9f1a54
...@@ -877,11 +877,13 @@ export default { ...@@ -877,11 +877,13 @@ export default {
spinner: 'el-icon-loading loading-class', spinner: 'el-icon-loading loading-class',
background: 'rgba(255 255 255,.9)' background: 'rgba(255 255 255,.9)'
}) })
const res = await this.$apis.seckillActivity.importCrowdFundingActivity({ file: fileUrl })
if (res) {
const { const {
successCount, successCount,
errorCount, errorCount,
errorUrl errorUrl
} = await this.$apis.seckillActivity.importCrowdFundingActivity({ file: fileUrl }) } = res
this.visibleImportDialog() this.visibleImportDialog()
this.fileResponse = { this.fileResponse = {
result: errorUrl ? false : true, result: errorUrl ? false : true,
...@@ -890,6 +892,7 @@ export default { ...@@ -890,6 +892,7 @@ export default {
} }
this.afterImportVisible = true this.afterImportVisible = true
this.handleSearch() this.handleSearch()
}
loading.close() loading.close()
} }
else throw false else throw false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!