fix:修改选中后 切换页面再切回会变成选中状态
This commit is contained in:
@@ -208,6 +208,7 @@
|
||||
}
|
||||
this.$refs['topology'].viewsCenter=res.data.topo.viewsCenter?res.data.topo.viewsCenter:{x:0,y:0};
|
||||
this.$refs['topology'].zoom=res.data.topo.zoom?res.data.topo.zoom:1;
|
||||
this.$refs['topology'].selNodeId='';
|
||||
})
|
||||
},
|
||||
reload(){
|
||||
@@ -229,6 +230,7 @@
|
||||
}
|
||||
this.$refs['topology'].viewsCenter=res.data.topo.viewsCenter?res.data.topo.viewsCenter:{x:0,y:0};
|
||||
this.$refs['topology'].zoom=res.data.topo.zoom?res.data.topo.zoom:1;
|
||||
this.$refs['topology'].selNodeId='';
|
||||
})
|
||||
},
|
||||
formatNodesArr(arr){
|
||||
|
||||
Reference in New Issue
Block a user