guonan
2025-05-20 a0967df707a547428df9fc80256877c26e061c4a
src/components/menu/Location.vue
@@ -48,6 +48,7 @@
import { ref, onMounted, watch } from "vue";
import { createPoint } from "@/utils/map";
import { useSimStore } from "@/store/simulation";
import { initeWaterPrimitiveView } from "@/utils/water"; //相机flyTo函数,后续options列表中有对应经纬度后弃用
const simStore = useSimStore();
@@ -131,6 +132,7 @@
);
onMounted(() => {
  initeWaterPrimitiveView();
  // 默认先检查一遍数据
  if (simStore.DangerPoint && simStore.DangerPoint.length > 0) {
    filterDataByArea("孙胡沟");
@@ -148,7 +150,7 @@
  left: 0px;
  right: 0px;
  bottom: 10px;
  background-color: rgba(236, 233, 233, 0.5); /* 半透明遮罩 */
  background-color: rgba(43, 43, 43, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;