fix: 资源接入-过滤PowerVc和深信服

develop
TangShan_DD 2024-05-28 12:27:09 +08:00
parent 2a17540d62
commit 383aabb328
1 changed files with 7 additions and 0 deletions

View File

@ -1257,6 +1257,13 @@ export default {
getPluginsVendor().then((data) => { getPluginsVendor().then((data) => {
if (data.success) { if (data.success) {
this.dictData = data.data 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) this.changeType(data.data[0].children[0].value, data.data[0].value)
} }
}) })