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) } })