26804
This commit is contained in:
		| @@ -104,6 +104,10 @@ export default { | ||||
|       return this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { | ||||
|         if (res.code == 0) { | ||||
|           this.treeObj.treeList = res.data; | ||||
|  | ||||
|           this.$nextTick(() => { | ||||
|             this.$refs.tree.setCurrentKey(res.data[0].id) | ||||
|           }) | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
| @@ -129,7 +133,6 @@ export default { | ||||
|     }, | ||||
|     handleNodeClick(val) { | ||||
|       let path = []; | ||||
|       console.log(val) | ||||
|       this.currInfo = val | ||||
|       if (val?.points?.length > 0) { | ||||
|         path = val.points.map(e => [e.lng, e.lat]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user