Skip to content

Commit

Permalink
💚 chore: 修正构建的路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 10, 2022
1 parent d901a82 commit a2bf07c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ export default [
{
name: 'login',
path: '/user/login',
component: './User/Login',
component: '@/pages/User/Login',
},
{
component: './404',
component: '@/pages/404',
},
],
},
{
path: '/welcome',
name: 'welcome',
icon: 'smile',
component: './Welcome',
component: '@/pages/Welcome',
},
{
path: '/admin',
Expand All @@ -39,24 +39,24 @@ export default [
path: '/admin/sub-page',
name: 'sub-page',
icon: 'smile',
component: './Welcome',
component: '@/pages/Welcome',
},
{
component: './404',
component: '@/pages/404',
},
],
},
{
name: 'list.table-list',
icon: 'table',
path: '/list',
component: './TableList',
component: '@/pages/TableList',
},
{
path: '/',
redirect: '/welcome',
},
{
component: './404',
component: '@/pages/404',
},
];

0 comments on commit a2bf07c

Please sign in to comment.