From 725201fe7dc72061c7a19c1ebb5f3c56f78da02e Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期二, 06 四月 2021 18:10:14 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/views/baseInfoMgr/pipeline/PipeLineIndex.vue | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/src/views/baseInfoMgr/pipeline/PipeLineIndex.vue b/src/views/baseInfoMgr/pipeline/PipeLineIndex.vue index 7118d09..84ae2a2 100644 --- a/src/views/baseInfoMgr/pipeline/PipeLineIndex.vue +++ b/src/views/baseInfoMgr/pipeline/PipeLineIndex.vue @@ -9,7 +9,6 @@ import 'leaflet/dist/leaflet.css' import Sgis from '@src/Sgis' import PipeLineList from './PipeLineList' -import { mapMutations } from 'vuex' export default { name: 'PipeLineIndex', @@ -20,20 +19,10 @@ }) }, methods: { - ...mapMutations({ - setMapObj: 'setMapObj', - setLayerHelper: 'setLayerHelper' - }), init () { const mapcontainer = this.$refs.rootmap - this.mapObj = Sgis.initMap(mapcontainer) - this.basemapHelper = Sgis.initBasemaps(this.mapObj.map, this.mapObj.L) // 鍒濆鍖栧簳鍥� - this.vectorLayerHelper = Sgis.initLayers(this.mapObj.map, this.mapObj.L, {}, this.$nodeEnv) // 鍒濆鍖栦笟鍔″浘灞� - this.setLayerHelper(this.vectorLayerHelper) + Sgis.initMap(mapcontainer) return this.map - }, - setLayerHelper () { - } } } -- Gitblit v1.8.0