diff --git a/src/components/CMap/components/cmapSmart.vue b/src/components/CMap/components/cmapSmart.vue index 7217bc2..c8639b6 100644 --- a/src/components/CMap/components/cmapSmart.vue +++ b/src/components/CMap/components/cmapSmart.vue @@ -1,6 +1,6 @@ @@ -144,7 +144,7 @@ if (this.mapLayers) { return } - const $el = this.$refs.map + const $el = this.$refs.mapSmart /* 默认影像和矢量地图,此处无用 const sateLayer = new CTileLayer(2, 18, 'sate', null, null)// 影像 const sateLabelLayer = new CTileLayer(2, 18, 'satelabel', null, null)// 影像注记 diff --git a/src/components/CMap/components/cmapSmart.vue b/src/components/CMap/components/cmapSmart.vue index 7217bc2..c8639b6 100644 --- a/src/components/CMap/components/cmapSmart.vue +++ b/src/components/CMap/components/cmapSmart.vue @@ -1,6 +1,6 @@ @@ -144,7 +144,7 @@ if (this.mapLayers) { return } - const $el = this.$refs.map + const $el = this.$refs.mapSmart /* 默认影像和矢量地图,此处无用 const sateLayer = new CTileLayer(2, 18, 'sate', null, null)// 影像 const sateLabelLayer = new CTileLayer(2, 18, 'satelabel', null, null)// 影像注记 diff --git a/src/views/smartAnalysis/smartOverview.vue b/src/views/smartAnalysis/smartOverview.vue index 0b324e2..cafae32 100644 --- a/src/views/smartAnalysis/smartOverview.vue +++ b/src/views/smartAnalysis/smartOverview.vue @@ -1,8 +1,8 @@