Commit 7c439454 authored by 季圣华's avatar 季圣华
Browse files

优化商品导入功能

parent 81465e5d
......@@ -307,17 +307,7 @@ export const JeecgListMixin = {
if (info.file.response.code === 200) {
this.$message.success(info.file.response.data || `${info.file.name} 文件上传成功`)
} else {
let { message, result: { msg, fileUrl, fileName } } = info.file.response
let href = window._CONFIG['domianURL'] + fileUrl
this.$warning({
title: message,
content: (
<div>
<span>{msg}</span><br/>
<span>具体详情请 <a href={href} target="_blank" download={fileName}>点击下载</a> </span>
</div>
)
})
this.$message.warning(info.file.response.data)
}
this.loadData()
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment