diff --git a/config/router.config.js b/config/router.config.js index 763ae1315e4cc6fca943291ef6bb00e6a2f8a606..464c857e709afddb2a9f955fb68b37e82f6fbc5c 100644 --- a/config/router.config.js +++ b/config/router.config.js @@ -33,15 +33,27 @@ module.exports = [ icon: 'form', name: 'form', routes: [ - { path: '/form/basic-form', name: 'basicform', component: './Forms/BasicForm' }, + { + path: '/form/basic-form', + name: 'basicform', + component: './Forms/BasicForm', + }, { path: '/form/step-form', name: 'stepform', component: './Forms/StepForm', hideChildren: true, routes: [ - { path: '/form/step-form', name: 'stepform', redirect: '/form/step-form/info' }, - { path: '/form/step-form/info', name: 'info', component: './Forms/StepForm/Step1' }, + { + path: '/form/step-form', + name: 'stepform', + redirect: '/form/step-form/info', + }, + { + path: '/form/step-form/info', + name: 'info', + component: './Forms/StepForm/Step1', + }, { path: '/form/step-form/confirm', name: 'confirm', @@ -133,7 +145,10 @@ module.exports = [ name: 'center', component: './Account/Center/Center', routes: [ - { path: '/account/center', redirect: '/account/center/articles' }, + { + path: '/account/center', + redirect: '/account/center/articles', + }, { path: '/account/center/articles', component: './Account/Center/Articles', @@ -153,7 +168,10 @@ module.exports = [ name: 'settings', component: './Account/Settings/Info', routes: [ - { path: '/account/settings', redirect: '/account/settings/base' }, + { + path: '/account/settings', + redirect: '/account/settings/base', + }, { path: '/account/settings/base', component: './Account/Settings/BaseView', @@ -162,7 +180,10 @@ module.exports = [ path: '/account/settings/security', component: './Account/Settings/SecurityView', }, - { path: '/account/settings/binding', component: './Account/Settings/BindingView' }, + { + path: '/account/settings/binding', + component: './Account/Settings/BindingView', + }, { path: '/account/settings/notification', component: './Account/Settings/NotificationView',