From 68123779cf924dbb6eaeaf0137aca2fdc929bef8 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Sun, 2 Apr 2023 18:38:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=88=90=E5=8A=9F=E5=8A=A0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ImportFileData/index.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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) }