From 2ced5a3a5a36b962b169a7231fa292708ad3b4f3 Mon Sep 17 00:00:00 2001 From: dhy1725534722 <1725534722@qq.com> Date: Wed, 1 Nov 2023 10:32:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=AC=E5=8A=9E=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tcZz/netWorkYq/zbxq/index.vue | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/views/tcZz/netWorkYq/zbxq/index.vue b/src/views/tcZz/netWorkYq/zbxq/index.vue index 5e15450..37b8a4b 100644 --- a/src/views/tcZz/netWorkYq/zbxq/index.vue +++ b/src/views/tcZz/netWorkYq/zbxq/index.vue @@ -381,14 +381,14 @@ {{ form.yqState }} - + {{ item }}{{ item.yqTitle }} {{ @@ -542,8 +542,17 @@ export default { }, methods: { files(e) { - if (!e) return []; - return e.split(","); + console.log(e); + if (!e.fileUrl) return []; + let newA = e.fileUrl.split(","); + let newC = []; + newA.forEach((value, index) => { + newC.push({ + yqTitle: e.yqTitle, + fileUrl: value, + }); + }); + return newC; }, //添加表格 addFile() {