fix: 资源接入-过滤PowerVc和深信服
parent
2a17540d62
commit
383aabb328
|
@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue