From e93600013f07e398cc4863f89dda6bf922b3dd5e Mon Sep 17 00:00:00 2001 From: JayChou Date: Fri, 28 Mar 2025 09:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/largeDataScreen/home.vue | 4 ++-- src/views/program/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/largeDataScreen/home.vue b/src/views/largeDataScreen/home.vue index ccb9cd4..984df2c 100644 --- a/src/views/largeDataScreen/home.vue +++ b/src/views/largeDataScreen/home.vue @@ -756,7 +756,7 @@ import { ref } from "vue"; import { setStepEvent } from "@/utils/setStep"; import { formatDate } from "@/utils"; import { useRouter, useRoute } from "vue-router"; -import { onMounted } from "vue"; +import { onMounted,onActivated } from "vue"; import settingStore from "@/store/modules/setting"; type Falg = boolean; type Step = number; @@ -777,7 +777,7 @@ const router = useRouter(); const useSettingStore = settingStore(); const isShowIdea = ref(false); console.log(route); -onMounted(() => { +onActivated(() => { if (route.query.idea) { isShowIdea.value = true; installationStep.value = 10; diff --git a/src/views/program/index.vue b/src/views/program/index.vue index 131bb9e..1003f8f 100644 --- a/src/views/program/index.vue +++ b/src/views/program/index.vue @@ -236,7 +236,7 @@ onMounted(() => { // #endregion // 点击节点时显示编辑框 graph.on("node:click", ({ cell }: any) => { - if(isShowStrring) return + if(!isShowStrring) return // console.log(cell.store.previous.name); console.log(cell); if (!useSettingStore.saveRoute) {