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