[update] Jero混入导入错误提示修改

This commit is contained in:
lideqin
2023-11-10 15:08:45 +08:00
parent 5809ca95dd
commit d66d8c1610
+5 -1
View File
@@ -431,7 +431,11 @@ export const JeroListMixin = {
}
this.loadData()
} else {
this.$message.warning(`${info.file.name} ${info.file.response.message}.`)
if (Array.isArray(info.file.response.result) && info.file.response.result.length > 0) {
this.messageLineFeed(this.$t('fileImportError'), info.file.response.result)
} else {
this.$message.warning(`${info.file.name} ${info.file.response.message}.`)
}
}
} else if (info.file.status === 'error') {
// 销毁这个提示