|
|
@ -21,10 +21,9 @@ export default [ |
|
|
{ |
|
|
{ |
|
|
path: '/', |
|
|
path: '/', |
|
|
component: '../layouts/BasicLayout', |
|
|
component: '../layouts/BasicLayout', |
|
|
Routes: ['src/pages/Authorized'], |
|
|
|
|
|
routes: [ |
|
|
routes: [ |
|
|
// dashboard
|
|
|
// dashboard
|
|
|
{ path: '/', redirect: '/dashboard/analysis', authority: ['admin', 'user'] }, |
|
|
{ path: '/', redirect: '/dashboard/analysis' }, |
|
|
{ |
|
|
{ |
|
|
path: '/dashboard', |
|
|
path: '/dashboard', |
|
|
name: 'dashboard', |
|
|
name: 'dashboard', |
|
|
@ -88,7 +87,6 @@ export default [ |
|
|
{ |
|
|
{ |
|
|
path: '/form/advanced-form', |
|
|
path: '/form/advanced-form', |
|
|
name: 'advancedform', |
|
|
name: 'advancedform', |
|
|
authority: ['admin'], |
|
|
|
|
|
component: './Forms/AdvancedForm', |
|
|
component: './Forms/AdvancedForm', |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
@ -162,7 +160,6 @@ export default [ |
|
|
{ |
|
|
{ |
|
|
path: '/profile/advanced', |
|
|
path: '/profile/advanced', |
|
|
name: 'advanced', |
|
|
name: 'advanced', |
|
|
authority: ['admin'], |
|
|
|
|
|
component: './Profile/AdvancedProfile', |
|
|
component: './Profile/AdvancedProfile', |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
|