CN-traveler
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
config/routes.ts
|
|
@ -32,11 +32,14 @@ export default [ |
|
|
icon: 'crown', |
|
|
icon: 'crown', |
|
|
access: 'canAdmin', |
|
|
access: 'canAdmin', |
|
|
routes: [ |
|
|
routes: [ |
|
|
|
|
|
{ |
|
|
|
|
|
path: '/admin', |
|
|
|
|
|
redirect: '/admin/sub-page', |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
path: '/admin/sub-page', |
|
|
path: '/admin/sub-page', |
|
|
name: 'sub-page', |
|
|
name: 'sub-page', |
|
|
icon: 'smile', |
|
|
component: './Admin', |
|
|
component: './Welcome', |
|
|
|
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
}, |
|
|
}, |
|
|
|