mirror of
https://github.com/veops/cmdb.git
synced 2025-08-26 15:00:39 +08:00
fix(ui): ipam - filter search value error
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<div class="ipam-tree-main">
|
||||
<a-tree
|
||||
v-if="treeData.length"
|
||||
autoExpandParent
|
||||
:treeData="filterTreeData"
|
||||
:selectedKeys="treeKey ? [treeKey] : []"
|
||||
:defaultExpandedKeys="treeKey ? [treeKey] : []"
|
||||
@@ -238,7 +239,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
& > li:first-child {
|
||||
.ipam-tree-node-all {
|
||||
.ant-tree-switcher {
|
||||
display: none;
|
||||
}
|
||||
|
@@ -185,6 +185,7 @@ export default {
|
||||
showCatalogBtn: rootShowCatalogBtn,
|
||||
showSubnetBtn: rootShowSubnetBtn,
|
||||
parentId: '',
|
||||
class: 'ipam-tree-node-all'
|
||||
})
|
||||
|
||||
this.treeData = treeData
|
||||
|
Reference in New Issue
Block a user