Commit dcc36ebe authored by 任建锋's avatar 任建锋

--

parent a3b53360
...@@ -97,11 +97,11 @@ ...@@ -97,11 +97,11 @@
return; return;
} }
if(type=="end"){ if(type=="end"){
this.targetNode = this.$refs.runtimeLayer.getNode(this.nodePath); // this.targetNode = this.$refs.runtimeLayer.getNode(this.nodePath);
//console.log("this.targetNode",this.targetNode) //console.log("this.targetNode",this.targetNode)
setTimeout(()=>{ setTimeout(()=>{
this.targetNode = this.$refs.runtimeLayer.getNode(this.nodePath); this.targetNode = this.$refs.runtimeLayer.getNode(this.nodePath);
events.$emit('locate-view-node-active', this.targetNode); events.$emit('locate-view-node-active', this.targetNode);
},0) },0)
}else if(type=="update"){ }else if(type=="update"){
this.targetNode = this.$refs.runtimeLayer.getNode(this.nodePath); this.targetNode = this.$refs.runtimeLayer.getNode(this.nodePath);
......
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