[update] Jero混入导入错误提示修改
This commit is contained in:
@@ -430,9 +430,13 @@ export const JeroListMixin = {
|
|||||||
this.$message.success(info.file.response.message || `${info.file.name} 文件上传成功`)
|
this.$message.success(info.file.response.message || `${info.file.name} 文件上传成功`)
|
||||||
}
|
}
|
||||||
this.loadData()
|
this.loadData()
|
||||||
|
} else {
|
||||||
|
if (Array.isArray(info.file.response.result) && info.file.response.result.length > 0) {
|
||||||
|
this.messageLineFeed(this.$t('fileImportError'), info.file.response.result)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(`${info.file.name} ${info.file.response.message}.`)
|
this.$message.warning(`${info.file.name} ${info.file.response.message}.`)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else if (info.file.status === 'error') {
|
} else if (info.file.status === 'error') {
|
||||||
// 销毁这个提示
|
// 销毁这个提示
|
||||||
importModalLoading && importModalLoading.destroy()
|
importModalLoading && importModalLoading.destroy()
|
||||||
|
|||||||
Reference in New Issue
Block a user