From e4cf7c610816d4d704bffc9d5e88024e64993551 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 17:00:14 +0800
Subject: [PATCH] 路由调整
---
src/pages/first/components/mainMenu.vue | 22 ++++++++--------------
1 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/src/pages/first/components/mainMenu.vue b/src/pages/first/components/mainMenu.vue
index c620915..a34cb07 100644
--- a/src/pages/first/components/mainMenu.vue
+++ b/src/pages/first/components/mainMenu.vue
@@ -21,35 +21,35 @@
[
{
menuName: '园区概况',
- path: '/layout/first/survey'
+ path: '/layout/map/survey'
},
{
menuName: '风险源',
- path: '/layout/first/rs'
+ path: '/layout/map/rs'
},
{
menuName: '应急空间',
- path: '/layout/first/space'
+ path: '/layout/map/space'
},
{
menuName: '应急物资',
- path: '/layout/first/supplies'
+ path: '/layout/single/first/supplies'
},
{
menuName: '三级防控',
- path: '/layout/first/pac'
+ path: '/layout/map/first/pac'
},
{
menuName: '救援队伍',
- path: '/layout/first/rt'
+ path: '/layout/single/first/rt'
},
{
menuName: '突发事件模拟',
- path: '/layout/first/pd'
+ path: '/layout/map/first/pd'
},
{
menuName: '作战图',
- path: '/layout/first/ochart'
+ path: '/layout/single/first/ochart'
},
]
)
@@ -59,12 +59,6 @@
if (params.path) {
if (router.currentRoute.value.path == params.path) return
-
- 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({
path: params.path
})
--
Gitblit v1.9.3