diff --git a/src/config/routes.ts b/src/config/routes.ts index d788c8f..dfd95bc 100644 --- a/src/config/routes.ts +++ b/src/config/routes.ts @@ -3,7 +3,7 @@ export default [ path: '/dashboard', icon: 'dashboard', title: '仪表盘', - component: '../layouts/td-layout.tsx', + component: '../Layouts/td-layout.tsx', redirect: '/dashboard/base', children: [ { @@ -22,7 +22,7 @@ export default [ path: '/list', icon: 'view-module', title: '列表页', - component: '../layouts/td-layout.tsx', + component: '../Layouts/td-layout.tsx', redirect: '/list/base', children: [ { @@ -51,7 +51,7 @@ export default [ path: '/form', icon: 'queue', title: '表单页', - component: '../layouts/td-layout.tsx', + component: '../Layouts/td-layout.tsx', redirect: '/form/base', children: [ { @@ -70,7 +70,7 @@ export default [ path: '/detail', icon: 'layers', title: '详情页', - component: '../layouts/td-layout.tsx', + component: '../Layouts/td-layout.tsx', redirect: '/detail/base', children: [ { @@ -101,7 +101,7 @@ export default [ path: '/result', icon: 'check-circle', title: '结果页', - component: '../layouts/td-layout.tsx', + component: '../Layouts/td-layout.tsx', redirect: '/result/success', children: [ { @@ -145,7 +145,7 @@ export default [ path: '/user', icon: 'user-circle', title: '个人页', - component: '../layouts/td-layout.tsx', + component: '../Layouts/td-layout.tsx', redirect: '/user/index', children: [ { @@ -159,7 +159,7 @@ export default [ { path: '/login', title: '登录页', - component: '../layouts/blank.vue', + component: '../Layouts/blank.vue', icon: 'chevron-right-rectangle', redirect: '/login/index', children: [ diff --git a/src/router/index.ts b/src/router/index.ts index bc523be..52784ba 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -27,7 +27,6 @@ const routes: Array = [ { path: '', redirect: '/dashboard/base', - component: () => import('@/pages/dashboard/base/index.vue'), }, ];