diff --git a/jero-web/src/components/ImportFileData/index.vue b/jero-web/src/components/ImportFileData/index.vue index 23e53b99c..d2126df9b 100644 --- a/jero-web/src/components/ImportFileData/index.vue +++ b/jero-web/src/components/ImportFileData/index.vue @@ -120,6 +120,25 @@ }) } else { if (this.isTrue) { + let {message} = info.file.response + let {name} = info.file + let content = [] + if (message) { + message = message.split('
') + 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){ localStorage.setItem('otaId', info.file.response.result.otaId) }