Browse Source

feat: 替换管理页组件 & 更正路由 (#10195)

* 替换组件

* 更新管理页面路由
pull/10209/head
CN-traveler 4 years ago
committed by GitHub
parent
commit
7d51aeb221
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      config/routes.ts

7
config/routes.ts

@ -32,11 +32,14 @@ export default [
icon: 'crown',
access: 'canAdmin',
routes: [
{
path: '/admin',
redirect: '/admin/sub-page',
},
{
path: '/admin/sub-page',
name: 'sub-page',
icon: 'smile',
component: './Welcome',
component: './Admin',
},
],
},

Loading…
Cancel
Save