src/components/menu/CrossSectionalAnalysis.vue
@@ -78,6 +78,8 @@ import { getCrossSection } from '@/api/trApi.js'; // 假设你有真实接口 import { useSimStore } from '@/store/simulation'; import { storeToRefs } from 'pinia'; import { EventBus } from "@/eventBus"; const simStore = useSimStore(); const { selectedScheme } = storeToRefs(simStore); const viewer = window.viewer; @@ -234,6 +236,8 @@ pickHandlerCross = null; } isPicking.value = false; simStore.crossSection = [] EventBus.emit("clear-dM") console.log('这里发送请求,清空郭楠的echarts2'); }