From e1281f6933755e07c7fb4b5bd8e8027cfb780e94 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 27 十一月 2025 17:06:43 +0800
Subject: [PATCH] 改bug
---
screen/src/router/index.js | 33 ++++++++++++++++++++++++++++-----
1 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/screen/src/router/index.js b/screen/src/router/index.js
index 337b81d..5d5f7bd 100644
--- a/screen/src/router/index.js
+++ b/screen/src/router/index.js
@@ -5,11 +5,18 @@
routes: [
{
path: '/',
- component: () => import('../views/EnergyConsum.vue')
- },
+ meta: {
+ title: '閽ュ寵鏌滄暟鎹湅鏉�'
+ },
+ component: () => import('../views/KeyCabinet.vue')
+ }
+ ,
{
path: '/PlatformCall', // 鏈堝彴鍙彿澶у睆
name: 'PlatformCall',
+ meta: {
+ title: '瀹夋嘲鐗╂祦鏈堝彴鍙彿澶у睆'
+ },
component: () => import('../views/PlatformCall.vue')
},
{
@@ -32,7 +39,7 @@
path: '/SecurityControl', // 瀹夐槻绠℃帶澶у睆 -
name: 'SecurityControl',
meta: {
- title: '瀹夋嘲鏅烘収鐗╂祦鍥尯-瀹夐槻鏅鸿兘鐩戞祴'
+ title: '瀹夋嘲鏅烘収鐗╂祦鍥尯-鏅鸿兘瀹夐槻鐩戞祴'
},
component: () => import('../views/SecurityControl.vue')
},
@@ -40,7 +47,7 @@
path: '/LogisticsCenter', //鍏ㄧ渷鐗╂祦鍦ㄩ��-鐗╂祦涓績
name: 'LogisticsCenter',
meta: {
- title: '鍏ㄧ渷鐗╂祦鍦ㄩ��'
+ title: '瀹夊窘涓儫鏁版櫤鎴愬搧绠℃帶'
},
component: () => import('../views/LogisticsCenter.vue')
},
@@ -53,6 +60,14 @@
component: () => import('../views/FireFighting.vue')
},
{
+ path: '/FireFighting1', //娑堥槻鐩戞帶
+ name: 'FireFighting1',
+ meta: {
+ title: '瀹夋嘲鏅烘収鐗╂祦鍥尯-娑堥槻鎬佸娍鐩戞帶'
+ },
+ component: () => import('../views/FireFighting1.vue')
+ },
+ {
path: '/TaskEfficiency', //鍦哄唴璋冨害鐪嬫澘 -浣滀笟鑳芥晥
name: 'TaskEfficiency',
meta: {
@@ -60,12 +75,20 @@
},
component: () => import('../views/TaskEfficiency.vue')
},
+ {
+ path: '/KeyCabinet', // 閽ュ寵鏌滄暟鎹湅鏉�
+ name: 'KeyCabinet',
+ meta: {
+ title: '閽ュ寵鏌滄暟鎹湅鏉�'
+ },
+ component: () => import('../views/KeyCabinet.vue')
+ },
]
})
router.beforeEach((to, from, next) => {
- window.document.title = to.meta.title
+ window.document.title = to.meta.title
next()
})
--
Gitblit v1.9.3