From 3f809af77111d0cb558db253832c01b44d3e65a6 Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Thu, 9 Jun 2022 14:03:34 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E5=90=8C=E6=AD=A5=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ParameterItemCollectionList.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 3e74ee5af..88e1fd3e8 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -824,11 +824,11 @@ export default { if(itemIn !== 'sdt') { if(item[itemIn] instanceof Object) { postDateobj[itemIn] = item[itemIn] - if(item[itemIn].list[0].dataValue instanceof Array) { - item[itemIn].list[0].dataValue = item[itemIn].list[0].dataValue.join(',') - // todo 校验 - console.log(item[itemIn].list[0].dataValue,'item[itemIn].list[0].dataValue') - } + item[itemIn].list.forEach((item,index) => { + if(item.type == 'pull_more'){ + item.dataValue = item.dataValue.join(',') + } + }) } } })