From dc9a330c08865f901f7527f98d4bcfcdf03ba93e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 25 Nov 2024 09:35:34 +0800
Subject: [PATCH] 代码优化
---
src/pages/first/components/mainMenu.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/pages/first/components/mainMenu.vue b/src/pages/first/components/mainMenu.vue
index b7b6024..b289b1a 100644
--- a/src/pages/first/components/mainMenu.vue
+++ b/src/pages/first/components/mainMenu.vue
@@ -44,7 +44,7 @@
path: '/layout/first/rt'
},
{
- menuName: '污染物处理',
+ menuName: '突发事件模拟',
path: '/layout/first/pd'
},
]
@@ -61,7 +61,9 @@
} else {
store.setLoadSingle(false)
}
- router.push(params.path)
+ router.push({
+ path: params.path
+ })
} else {
params.childrenFlag = !params.childrenFlag
}
--
Gitblit v1.9.3