From bc1d36dae9b2b762dd99537995a5b0458ba6c424 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 15 Jul 2022 17:01:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=89=E4=BF=9D=E5=A4=87=E6=A1=88bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ApplicationDeploymentAndSecurity.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue index a53d2825..156f9d16 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue @@ -68,11 +68,13 @@ item.attrType === '部署位置' ) { dataFrom.value.content[0].childrenContent.push(item) - } else if ( - item.attrType === '是否等保备案' || - item.attrType === '等保定级' - ) { + } else if (item.attrType === '等保定级') { dataFrom.value.content[1].childrenContent.push(item) + let isAndNo = { + attrType: '是否等保备案', + attrValue: '是', + } + dataFrom.value.content[1].childrenContent.push(isAndNo) } else if (item.attrType === '访问地址') { let obj = { attrType: '访问地址', @@ -85,7 +87,7 @@ let data = [ { attrType: '是否等保备案', - attrValue: '------', + attrValue: '否', }, { attrType: '等保定级', @@ -116,10 +118,7 @@ item.attrType === '部署位置' ) { dataFrom.value.content[0].childrenContent.push(item) - } else if ( - item.attrType === '是否等保备案' || - item.attrType === '等保定级' - ) { + } else if (item.attrType === '等保定级') { dataFrom.value.content[1].childrenContent.push(item) let isAndNo = { attrType: '是否等保备案', @@ -135,6 +134,7 @@ } }) if (dataFrom.value.content[1].childrenContent.length <= 0) { + debugger let data = [ { attrType: '是否等保备案',