Browse Source

工具栏修改

hm 3 weeks ago
parent
commit
763898e11b
1 changed files with 2 additions and 5 deletions
  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 !== "色阶图"
   }
 }