fix:解决选中模块后 点击编辑 出现工具部分

This commit is contained in:
zhangyu
2020-09-04 11:25:22 +08:00
parent 1c7f2689c8
commit 8e9aa860a4
2 changed files with 13 additions and 1 deletions

View File

@@ -359,8 +359,20 @@
roundness:0.5, roundness:0.5,
type: "curvedCW", type: "curvedCW",
}, },
// font:{
// align:'bottom',
// vadjust:10,
// },
selfReferenceSize:40, selfReferenceSize:40,
arrowStrikethrough:false, arrowStrikethrough:false,
// chosen:{
// edge:(values, id, selected, hovering)=>{
// values.middleArrow=true;
// values.middleArrowScale=1;
// values.middleArrowType='circle';
// console.log(id, selected, hovering);
// },
// },
}, },
layout:{ layout:{
randomSeed: 666, randomSeed: 666,

View File

@@ -298,7 +298,7 @@
editVisNetworkChange(flag){ editVisNetworkChange(flag){
this.editVisNetwork=flag; this.editVisNetwork=flag;
if(flag){ if(flag){
this.$refs.topology.popDataShowUpdate(); this.$refs.topology.popDataShowUpdate('',true);
} }
if(!flag){ if(!flag){
// this.reload(); // this.reload();