fix: 处理直接进入project不走watch的问题

This commit is contained in:
zhangyu
2020-08-20 09:40:15 +08:00
parent 2283194ecd
commit 5bca796040
4 changed files with 22 additions and 4 deletions

View File

@@ -524,6 +524,17 @@
}
return false
});
this.network.on("resize", function (params) {//检测resize
console.log(1111);
setTimeout(()=>{
this_.modelTopUpdate();
this_.selNodeArrUpdate();
if(this_.networkPopShow){
this_.setPopPosition(this_.selNodeId);
}
})
return false
});
})
}
}