Commit 1834b50e authored by wangqinghua's avatar wangqinghua

update

parent bd3ee8f8
......@@ -120,7 +120,7 @@ export class LineComponent implements OnInit {
this.totalNum = res.data.totalNum;
this.inList = res.data.data;
this.inList.forEach(e=>{ //进口流量回显
if(e.itemId = this.itemId[0]){
if(e.itemId == this.itemId[0]){
e.checked = true;
}
})
......@@ -143,7 +143,7 @@ export class LineComponent implements OnInit {
this.totalNum = res.data.totalNum;
this.outList = res.data.data;
this.outList.forEach(e=>{
if(e.itemId = this.itemId[1]){ //出口流量回显
if(e.itemId == this.itemId[1]){ //出口流量回显
e.checked = true;
}
})
......
......@@ -84,7 +84,6 @@ TopologyPanel.prototype.loadTopology = function (response, topologyGuid, backImg
TopologyPanel.prototype.loadTopologyByJson = function (topologyJson, backImg) {
try {
JTopo.replaceStageWithJson(topologyJson)
var timer = $interval(function(){},100,10);
if (editor.stage && editor.scene && editor.scene.childs && editor.scene.childs.length > 0) {
editor.stage.centerAndZoom()
console.log(editor.utils.getAllNodes()[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment