调用接口

This commit is contained in:
zhangyu
2020-08-24 15:08:34 +08:00
parent 4f7929bda4
commit d5b26e793d
2 changed files with 8 additions and 8 deletions

View File

@@ -183,14 +183,13 @@
},
getNetworkData(n){
this.topologyLoading=true;
setTimeout(()=>{
this.edgesArray=[];
this.nodesArray=[];
setTimeout(()=>{
this.topologyLoading=false;
this.$refs['topology'].setNetworkData( this.edgesArray,this.nodesArray);
},1000)
},500)
// this.$get('/project/topo',{projectId:n.id}).then(res=>{
// console.log(res);
// setTimeout(()=>{
// this.topologyLoading=false;
// this.$refs['topology'].setNetworkData( this.edgesArray,this.nodesArray);
// })
// })
},
editVisNetworkChange(flag){
this.editVisNetwork=flag;