From 180b06428a2d3aaa8fb1701d2f8438c4b01cfd0e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 26 Nov 2024 20:25:41 +0800
Subject: [PATCH] 作战图添加

---
 src/pages/first/components/mainMenu.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/pages/first/components/mainMenu.vue b/src/pages/first/components/mainMenu.vue
index b289b1a..c620915 100644
--- a/src/pages/first/components/mainMenu.vue
+++ b/src/pages/first/components/mainMenu.vue
@@ -47,6 +47,10 @@
       menuName: '突发事件模拟',
       path: '/layout/first/pd'
     },
+    {
+      menuName: '作战图',
+      path: '/layout/first/ochart'
+    },
   ]
 )
 
@@ -56,7 +60,7 @@
   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)

--
Gitblit v1.9.3