From 383aabb32887741b4e70289c81073cdb631e0d3f Mon Sep 17 00:00:00 2001 From: TangShan_DD Date: Tue, 28 May 2024 12:27:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B5=84=E6=BA=90=E6=8E=A5=E5=85=A5-?= =?UTF-8?q?=E8=BF=87=E6=BB=A4PowerVc=E5=92=8C=E6=B7=B1=E4=BF=A1=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/platform/overview/add.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/platform/overview/add.vue b/src/views/platform/overview/add.vue index 7a7cd43..80c31de 100644 --- a/src/views/platform/overview/add.vue +++ b/src/views/platform/overview/add.vue @@ -1257,6 +1257,13 @@ export default { getPluginsVendor().then((data) => { if (data.success) { this.dictData = data.data + this.dictData = this.dictData.map((item) => { + if (item.name === '私有云') { + const childrenFiltered = item.children.filter((child) => child.value !== 'POWERVC' && child.value !== 'SANGFOR') + return { ...item, children: childrenFiltered } + } + return item + }) this.changeType(data.data[0].children[0].value, data.data[0].value) } })