From ea3796f9a0098858f5726e03db56a339b6eab3cc Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 21 五月 2024 09:13:19 +0800 Subject: [PATCH] Merge branch 'master' into dev-threejs --- 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