From b0ddfa5e7fbd269bcc31d31b99fdedab401cd094 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 16:50:01 +0800
Subject: [PATCH] 调试工具配置
---
src/pages/first/components/mainMenu.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/pages/first/components/mainMenu.vue b/src/pages/first/components/mainMenu.vue
index b7b6024..c620915 100644
--- a/src/pages/first/components/mainMenu.vue
+++ b/src/pages/first/components/mainMenu.vue
@@ -44,8 +44,12 @@
path: '/layout/first/rt'
},
{
- menuName: '污染物处理',
+ menuName: '突发事件模拟',
path: '/layout/first/pd'
+ },
+ {
+ menuName: '作战图',
+ path: '/layout/first/ochart'
},
]
)
@@ -56,12 +60,14 @@
if (params.path) {
if (router.currentRoute.value.path == params.path) return
- if (params.path == '/layout/first/supplies' || params.path == '/layout/first/rt') {
+ if (params.path == '/layout/first/supplies' || params.path == '/layout/first/rt' || params.path == '/layout/first/ochart') {
store.setLoadSingle(true)
} else {
store.setLoadSingle(false)
}
- router.push(params.path)
+ router.push({
+ path: params.path
+ })
} else {
params.childrenFlag = !params.childrenFlag
}
--
Gitblit v1.9.3