Browse Source

优化菜单显示

chenghanbin 4 months ago
parent
commit
d2e51284e8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/zwgk/modules/menuModule.vue

+ 2 - 1
src/views/zwgk/modules/menuModule.vue

@@ -162,7 +162,8 @@ watch(
162 162
 watch(
163 163
   () => router.currentRoute.value.path,
164 164
   (newValue) => {
165
-    activeMenu.value = newValue.replace("/zwgk/", "");
165
+    let path = newValue.replace("/zwgk/", "");
166
+    activeMenu.value = path == "info" ? "zfxxgkzn" : path;
166 167
   },
167 168
   { immediate: true }
168 169
 );