| | |
| | | }, |
| | | watch: { |
| | | "state.list": function (val) { |
| | | console.log('state.list'); |
| | | this.KEY = keys[val.POITYPE]; |
| | | console.log(this.state.list); |
| | | console.log(this.list1); |
| | | console.log(this.KEY); |
| | | }, |
| | | }, |
| | | methods: { |
| | | closehandle() { |
| | | if (window.pickFeature && window.pickFeature.primitive) { |
| | | window.pickFeature.primitive.image = window.imgUrl; |
| | | window.pickFeature = null; |
| | | } |
| | | // if (window.pickFeature && window.pickFeature.primitive) { |
| | | // window.pickFeature.primitive.image = window.imgUrl; |
| | | // window.pickFeature = null; |
| | | // } |
| | | store.setPoplayerListAction({}); |
| | | divPoint3 && divPoint3.deleteObject(); |
| | | // divPoint3 && divPoint3.deleteObject(); |
| | | store.setPoplayerShowAction(false); |
| | | if (window.tdglLine) { |
| | | sgworld.Creator.DeleteObject(window.tdglLine); |
| | | window.map.removeLayer(window.tdglLine); |
| | | window.tdglLine = null; |
| | | } |
| | | }, |