Quellcode durchsuchen

工具栏修改

hm vor 3 Wochen
Ursprung
Commit
763898e11b
1 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen
  1. 2 5
      src/views/left/modules/components/dialog/MapTools.vue

+ 2 - 5
src/views/left/modules/components/dialog/MapTools.vue

@@ -10,11 +10,10 @@
 import { ref, onMounted } from 'vue'
 import {setDistrictResult} from "@/utils/map/AddLayer.js";
 import {useEventInteractionStore} from "@/store/eventInteraction.js";
-import {handleJtlxPoints} from "@/utils/map/baseMethod.js";
 const eventInteractionStore = useEventInteractionStore()
 
 // 公共路径
-const basePath = '@/assets/img/'
+const basePath = '../../../../../assets/img/'
 
 // 工具配置数据
 const tools = ref([
@@ -101,9 +100,7 @@ const selectTool = name => {
         "count": 36
       }]
     setDistrictResult(activeTool.value === "色阶图",  data)
-    eventInteractionStore.isDangerStatistic = activeTool.value === "色阶图"
-
-    handleJtlxPoints(activeTool.value !== "色阶图")
+    eventInteractionStore.isDangerStatistic = activeTool.value !== "色阶图"
   }
 }