From 417e07eebf6313b19ab6d26ebd8e39c7d08516ea Mon Sep 17 00:00:00 2001
From: TreeWish <1131093754@qq.com>
Date: 星期五, 24 二月 2023 19:39:28 +0800
Subject: [PATCH] 解决收缩菜单不一致情况

---
 src/components/Screen/top.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/components/Screen/top.vue b/src/components/Screen/top.vue
index 8257b80..8244818 100644
--- a/src/components/Screen/top.vue
+++ b/src/components/Screen/top.vue
@@ -38,7 +38,13 @@
       currView: "chart",
     }
   },
-  mounted() {},
+  mounted() {
+    this.$bus.$on('changeProject', name => {
+      if (name == '鍏ㄥ浗椤圭洰' || name == '鍏ㄧ悆椤圭洰') {
+        this.OpenProjectree()
+      }
+    })
+  },
   methods: {
     ReturnLast() {
       this.$router.push("/Synthesis")

--
Gitblit v1.9.3