src/store/simulation.js
@@ -1,6 +1,7 @@ // stores/ui.js import { defineStore } from 'pinia' import { ref } from 'vue' import { showDeviceDetail } from "@/store"; export const useSimStore = defineStore('simulation', () => { // 断面数据 const crossSection = ref([]) @@ -157,7 +158,6 @@ const startMNPG = () => { init() isShowEarth.value = false } const setBackToHome = (value) => { @@ -166,6 +166,7 @@ // 导航点击 const handleNavClick = (index) => { showDeviceDetail.value = false; switch (index) { case 1: startYHGL()