From 00bf2a7e27491ef55b7d5f7742a322010a1fec11 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期三, 20 三月 2024 14:16:20 +0800 Subject: [PATCH] fix:修改路由 --- src/router/index.js | 30 ++++++++++++++++++++++-------- 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 8850356..58389a7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -51,13 +51,13 @@ component: Layout, hidden: true, children: [ - { - path: 'index', - name: 'vehicle-data-monitor', - component: () => import('@/views/system/vehicle-data-monitor/index'), - meta: { title: '杞﹁締杩囧崱鍙f暟鎹竴鑷存��', activeMenu: '/system/vehicle-data-monitor' } - } - ] + { + path: 'index', + name: 'vehicle-data-monitor', + component: () => import('@/views/system/vehicle-data-monitor/index'), + meta: { title: '杞﹁締杩囧崱鍙f暟鎹竴鑷存��', activeMenu: '/system/vehicle-data-monitor' } + } + ] }, { path: '/register', @@ -77,7 +77,7 @@ { path: '', component: Layout, - redirect: 'index', + redirect: 'screen', children: [ { path: 'index', @@ -87,6 +87,20 @@ } ] }, + + // { + // path: '', + // component: Layout, + // redirect: 'index', + // children: [ + // { + // path: 'index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '棣栭〉', icon: 'dashboard', affix: true } + // } + // ] + // }, { path: '/screen', hidden: true, -- Gitblit v1.8.0