导入成功加提示语
This commit is contained in:
@@ -120,6 +120,25 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if (this.isTrue) {
|
if (this.isTrue) {
|
||||||
|
let {message} = info.file.response
|
||||||
|
let {name} = info.file
|
||||||
|
let content = []
|
||||||
|
if (message) {
|
||||||
|
message = message.split('</br>')
|
||||||
|
message.forEach(res => {
|
||||||
|
if (res) {
|
||||||
|
content.push( < div > {res} < /div>)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.$warning({
|
||||||
|
title: name,
|
||||||
|
content: (
|
||||||
|
< div >
|
||||||
|
{content}
|
||||||
|
< /div>
|
||||||
|
)
|
||||||
|
})
|
||||||
if(info.file.response.result != null && info.file.response.result.otaId){
|
if(info.file.response.result != null && info.file.response.result.otaId){
|
||||||
localStorage.setItem('otaId', info.file.response.result.otaId)
|
localStorage.setItem('otaId', info.file.response.result.otaId)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user