From 3c6203da5fc2503b83ee2f7bd5b8a37333b62cb2 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 08 五月 2024 17:30:34 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/router/index.js | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index d43a54e..eeb0275 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,16 +64,35 @@ { path: '', component: Layout, - redirect: 'index', + redirect: 'screen', children: [ { path: 'index', -// component: () => import('@/views/index'), + component: () => import('@/views/index'), name: 'Index', meta: { title: '棣栭〉', icon: 'dashboard', affix: true } } ] }, + + // { + // path: '', + // component: Layout, + // redirect: 'index', + // children: [ + // { + // path: 'index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '棣栭〉', icon: 'dashboard', affix: true } + // } + // ] + // }, + { + path: '/screen', + hidden: true, + component: () => import('@/views/screen/index'), + }, { path: '/user', component: Layout, -- Gitblit v1.8.0