|
@@ -10,6 +10,7 @@
|
|
|
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()
|
|
|
|
|
|
// 公共路径
|
|
@@ -100,7 +101,9 @@ const selectTool = name => {
|
|
|
"count": 36
|
|
|
}]
|
|
|
setDistrictResult(activeTool.value === "色阶图", data)
|
|
|
- eventInteractionStore.isDangerStatistic = activeTool.value !== "色阶图"
|
|
|
+ eventInteractionStore.isDangerStatistic = activeTool.value === "色阶图"
|
|
|
+
|
|
|
+ handleJtlxPoints(activeTool.value !== "色阶图")
|
|
|
}
|
|
|
}
|
|
|
|