调用接口
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user