Ver Fonte

去掉首页和疑点筛查的底图切换功能

Bella há 2 anos atrás
pai
commit
d040dea9a9
2 ficheiros alterados com 4 adições e 3 exclusões
  1. 1 3
      src/components/map/MapHolder.vue
  2. 3 0
      src/views/ComprehensiveAnalysis.vue

+ 1 - 3
src/components/map/MapHolder.vue

@@ -13,7 +13,6 @@
       ref="normalRef"
     />
     <LabelCasePopup v-show="labelDetailsPopupShow" ref="labelRef" />
-    <BasemapChange />
   </div>
 </template>
 <script>
@@ -24,7 +23,7 @@ import { streetLocation, townData } from "@/config/common";
 import CaseAuditPopup from "@/components/popup/CaseAuditPopup.vue";
 import NormalAttrPopup from "@/components/popup/NormalAttrPopup.vue";
 import LabelCasePopup from "@/components/popup/LabelCasePopup.vue";
-import BasemapChange from "@/components/map/BasemapChange.vue";
+
 import coordinate from "@/utils/coordinate.js";
 import { nextTick } from "vue";
 export default {
@@ -33,7 +32,6 @@ export default {
     CaseAuditPopup,
     NormalAttrPopup,
     LabelCasePopup,
-    BasemapChange,
   },
   data() {
     return {

+ 3 - 0
src/views/ComprehensiveAnalysis.vue

@@ -6,6 +6,7 @@
     element-loading-spinner="el-icon-loading"
     element-loading-background="rgba(0, 0, 0, 0.8)"
   >
+    <BasemapChange  style="pointer-events:auto;"/>
     <LawPopup class="comprehensive-analysis-law-popup" />
     <LabelCasePopup
       class="comprehensive-analysis-label-popup"
@@ -300,6 +301,7 @@ import publicFun from "@/utils/publicFunction.js";
 import AttributePopup from "@/components/popup/AttributePopup.vue";
 import LabelCasePopup from "@/components/popup/LabelCasePopup.vue";
 import LawPopup from "@/components/popup/LawPopup.vue";
+import BasemapChange from "@/components/map/BasemapChange.vue";
 import { nextTick } from "vue";
 export default {
   name: "ComprehensiveAnalysis",
@@ -311,6 +313,7 @@ export default {
     LabelCasePopup,
     Pagination,
     NewSelect,
+    BasemapChange,
   },
   data() {
     return {