src/views/MapTemplate.vue
@@ -133,6 +133,7 @@ init () { const mapcontainer = this.$refs.rootmap this.map = Sgis.initMap(mapcontainer) this.$refs.toolBox.map = this.map window.popupComp = this.$refs.popup var layerFactory = new LayerFactory({ @@ -154,7 +155,7 @@ // this.AddGasHelper() // this.ChangeWaterState() this.$refs.toolBox.init(this.map) this.saveMapStatus() // this.setMapObj(this.mapObj) // this.setBasemapHelper(this.basemapHelper)