diff --git a/nezha-fronted/src/components/common/project/topology.vue b/nezha-fronted/src/components/common/project/topology.vue index 564990e17..559350e4b 100644 --- a/nezha-fronted/src/components/common/project/topology.vue +++ b/nezha-fronted/src/components/common/project/topology.vue @@ -632,7 +632,9 @@ // this.moduleDataS=this.allModuleInfos-this.nodesArray this.moduleDataS={...this.allModuleInfos}; this.nodesArray.forEach((item)=>{ - this.moduleDataS.module=this.moduleDataS.module.filter((item1)=> item.id!==item1.id) + if(this.moduleDataS.module){ + this.moduleDataS.module=this.moduleDataS.module.filter((item1)=> item.id!==item1.id) + } }) }, //工具栏点击后显示对应内容 diff --git a/nezha-fronted/src/components/common/project/visNetwork.vue b/nezha-fronted/src/components/common/project/visNetwork.vue index 2b6331f6e..c265ea230 100644 --- a/nezha-fronted/src/components/common/project/visNetwork.vue +++ b/nezha-fronted/src/components/common/project/visNetwork.vue @@ -373,7 +373,7 @@ } .facade-top .facade-top-right{ width: 5%; - min-width: 120px; + min-width: 100px; } .facade-top-right-content{ display: flex;