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() {