mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 10:48:25 +08:00
fix: router layout (merge request !9)
Squash merge branch 'fix/route/layout' into 'develop' fix: router layout
This commit is contained in:
parent
b322bceefc
commit
def496aff8
|
@ -3,7 +3,7 @@ export default [
|
||||||
path: '/dashboard',
|
path: '/dashboard',
|
||||||
icon: 'dashboard',
|
icon: 'dashboard',
|
||||||
title: '仪表盘',
|
title: '仪表盘',
|
||||||
component: '../layouts/td-layout.tsx',
|
component: '../Layouts/td-layout.tsx',
|
||||||
redirect: '/dashboard/base',
|
redirect: '/dashboard/base',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@ export default [
|
||||||
path: '/list',
|
path: '/list',
|
||||||
icon: 'view-module',
|
icon: 'view-module',
|
||||||
title: '列表页',
|
title: '列表页',
|
||||||
component: '../layouts/td-layout.tsx',
|
component: '../Layouts/td-layout.tsx',
|
||||||
redirect: '/list/base',
|
redirect: '/list/base',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@ export default [
|
||||||
path: '/form',
|
path: '/form',
|
||||||
icon: 'queue',
|
icon: 'queue',
|
||||||
title: '表单页',
|
title: '表单页',
|
||||||
component: '../layouts/td-layout.tsx',
|
component: '../Layouts/td-layout.tsx',
|
||||||
redirect: '/form/base',
|
redirect: '/form/base',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ export default [
|
||||||
path: '/detail',
|
path: '/detail',
|
||||||
icon: 'layers',
|
icon: 'layers',
|
||||||
title: '详情页',
|
title: '详情页',
|
||||||
component: '../layouts/td-layout.tsx',
|
component: '../Layouts/td-layout.tsx',
|
||||||
redirect: '/detail/base',
|
redirect: '/detail/base',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -101,7 +101,7 @@ export default [
|
||||||
path: '/result',
|
path: '/result',
|
||||||
icon: 'check-circle',
|
icon: 'check-circle',
|
||||||
title: '结果页',
|
title: '结果页',
|
||||||
component: '../layouts/td-layout.tsx',
|
component: '../Layouts/td-layout.tsx',
|
||||||
redirect: '/result/success',
|
redirect: '/result/success',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -145,7 +145,7 @@ export default [
|
||||||
path: '/user',
|
path: '/user',
|
||||||
icon: 'user-circle',
|
icon: 'user-circle',
|
||||||
title: '个人页',
|
title: '个人页',
|
||||||
component: '../layouts/td-layout.tsx',
|
component: '../Layouts/td-layout.tsx',
|
||||||
redirect: '/user/index',
|
redirect: '/user/index',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -159,7 +159,7 @@ export default [
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
title: '登录页',
|
title: '登录页',
|
||||||
component: '../layouts/blank.vue',
|
component: '../Layouts/blank.vue',
|
||||||
icon: 'chevron-right-rectangle',
|
icon: 'chevron-right-rectangle',
|
||||||
redirect: '/login/index',
|
redirect: '/login/index',
|
||||||
children: [
|
children: [
|
||||||
|
|
|
@ -27,7 +27,6 @@ const routes: Array<RouteRecordRaw> = [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirect: '/dashboard/base',
|
redirect: '/dashboard/base',
|
||||||
component: () => import('@/pages/dashboard/base/index.vue'),
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user