Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
7c439454
Commit
7c439454
authored
Aug 20, 2021
by
季圣华
Browse files
优化商品导入功能
parent
81465e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/mixins/JeecgListMixin.js
View file @
7c439454
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment