|
@@ -23,7 +23,7 @@ export const useEventInteractionStore = defineStore("eventInteractionStore", ()
|
|
|
const currentMapScale = ref(0);
|
|
|
|
|
|
//是否打开风险统计
|
|
|
- const isDangerStatistic = ref(true);
|
|
|
+ const isDangerStatistic = ref(false);
|
|
|
|
|
|
//是否打开病例撒点
|
|
|
const isCaseShow = ref(false);
|
|
@@ -32,7 +32,7 @@ export const useEventInteractionStore = defineStore("eventInteractionStore", ()
|
|
|
watch(
|
|
|
() => commonStore.activeIndex,
|
|
|
(val) => {
|
|
|
- isDangerStatistic.value = val === 0
|
|
|
+ // isDangerStatistic.value = val === 0
|
|
|
}
|
|
|
);
|
|
|
|
|
@@ -93,10 +93,10 @@ export const useEventInteractionStore = defineStore("eventInteractionStore", ()
|
|
|
console.log(val);
|
|
|
if(commonStore.activeIndex === 0){
|
|
|
if(val){
|
|
|
- isDangerStatistic.value = false
|
|
|
+ // isDangerStatistic.value = false
|
|
|
changeStreet(val, true, true)
|
|
|
}else {
|
|
|
- isDangerStatistic.value = true
|
|
|
+ // isDangerStatistic.value = true
|
|
|
initDistrict()
|
|
|
}
|
|
|
}
|