diff --git a/app/web/config/router.config.js b/app/web/config/router.config.js
index bef1be38..43855fe2 100644
--- a/app/web/config/router.config.js
+++ b/app/web/config/router.config.js
@@ -41,221 +41,221 @@ export default [
},
],
},
- // forms
- {
- path: '/form',
- icon: 'form',
- name: 'form',
- routes: [
- {
- path: '/form/basic-form',
- name: 'basicform',
- component: './Forms/BasicForm',
- },
- {
- path: '/form/step-form',
- name: 'stepform',
- component: './Forms/StepForm',
- hideChildrenInMenu: 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/confirm',
- name: 'confirm',
- component: './Forms/StepForm/Step2',
- },
- {
- path: '/form/step-form/result',
- name: 'result',
- component: './Forms/StepForm/Step3',
- },
- ],
- },
- {
- path: '/form/advanced-form',
- name: 'advancedform',
- authority: ['admin'],
- component: './Forms/AdvancedForm',
- },
- ],
- },
- // list
- {
- path: '/list',
- icon: 'table',
- name: 'list',
- routes: [
- {
- path: '/list/table-list',
- name: 'searchtable',
- component: './List/TableList',
- },
- {
- path: '/list/basic-list',
- name: 'basiclist',
- component: './List/BasicList',
- },
- {
- path: '/list/card-list',
- name: 'cardlist',
- component: './List/CardList',
- },
- {
- path: '/list/search',
- name: 'searchlist',
- component: './List/List',
- routes: [
- {
- path: '/list/search',
- redirect: '/list/search/articles',
- },
- {
- path: '/list/search/articles',
- name: 'articles',
- component: './List/Articles',
- },
- {
- path: '/list/search/projects',
- name: 'projects',
- component: './List/Projects',
- },
- {
- path: '/list/search/applications',
- name: 'applications',
- component: './List/Applications',
- },
- ],
- },
- ],
- },
- {
- path: '/profile',
- name: 'profile',
- icon: 'profile',
- routes: [
- // profile
- {
- path: '/profile/basic',
- name: 'basic',
- component: './Profile/BasicProfile',
- },
- {
- path: '/profile/advanced',
- name: 'advanced',
- authority: ['admin'],
- component: './Profile/AdvancedProfile',
- },
- ],
- },
- {
- name: 'result',
- icon: 'check-circle-o',
- path: '/result',
- routes: [
- // result
- {
- path: '/result/success',
- name: 'success',
- component: './Result/Success',
- },
- { path: '/result/fail', name: 'fail', component: './Result/Error' },
- ],
- },
- {
- name: 'exception',
- icon: 'warning',
- path: '/exception',
- routes: [
- // exception
- {
- path: '/exception/403',
- name: 'not-permission',
- component: './Exception/403',
- },
- {
- path: '/exception/404',
- name: 'not-find',
- component: './Exception/404',
- },
- {
- path: '/exception/500',
- name: 'server-error',
- component: './Exception/500',
- },
- {
- path: '/exception/trigger',
- name: 'trigger',
- hideInMenu: true,
- component: './Exception/TriggerException',
- },
- ],
- },
- {
- name: 'account',
- icon: 'user',
- path: '/account',
- routes: [
- {
- path: '/account/center',
- name: 'center',
- component: './Account/Center/Center',
- routes: [
- {
- path: '/account/center',
- redirect: '/account/center/articles',
- },
- {
- path: '/account/center/articles',
- component: './Account/Center/Articles',
- },
- {
- path: '/account/center/applications',
- component: './Account/Center/Applications',
- },
- {
- path: '/account/center/projects',
- component: './Account/Center/Projects',
- },
- ],
- },
- {
- path: '/account/settings',
- name: 'settings',
- component: './Account/Settings/Info',
- routes: [
- {
- path: '/account/settings',
- redirect: '/account/settings/base',
- },
- {
- path: '/account/settings/base',
- component: './Account/Settings/BaseView',
- },
- {
- path: '/account/settings/security',
- component: './Account/Settings/SecurityView',
- },
- {
- path: '/account/settings/binding',
- component: './Account/Settings/BindingView',
- },
- {
- path: '/account/settings/notification',
- component: './Account/Settings/NotificationView',
- },
- ],
- },
- ],
- },
+ // // forms
+ // {
+ // path: '/form',
+ // icon: 'form',
+ // name: 'form',
+ // routes: [
+ // {
+ // path: '/form/basic-form',
+ // name: 'basicform',
+ // component: './Forms/BasicForm',
+ // },
+ // {
+ // path: '/form/step-form',
+ // name: 'stepform',
+ // component: './Forms/StepForm',
+ // hideChildrenInMenu: 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/confirm',
+ // name: 'confirm',
+ // component: './Forms/StepForm/Step2',
+ // },
+ // {
+ // path: '/form/step-form/result',
+ // name: 'result',
+ // component: './Forms/StepForm/Step3',
+ // },
+ // ],
+ // },
+ // {
+ // path: '/form/advanced-form',
+ // name: 'advancedform',
+ // authority: ['admin'],
+ // component: './Forms/AdvancedForm',
+ // },
+ // ],
+ // },
+ // // list
+ // {
+ // path: '/list',
+ // icon: 'table',
+ // name: 'list',
+ // routes: [
+ // {
+ // path: '/list/table-list',
+ // name: 'searchtable',
+ // component: './List/TableList',
+ // },
+ // {
+ // path: '/list/basic-list',
+ // name: 'basiclist',
+ // component: './List/BasicList',
+ // },
+ // {
+ // path: '/list/card-list',
+ // name: 'cardlist',
+ // component: './List/CardList',
+ // },
+ // {
+ // path: '/list/search',
+ // name: 'searchlist',
+ // component: './List/List',
+ // routes: [
+ // {
+ // path: '/list/search',
+ // redirect: '/list/search/articles',
+ // },
+ // {
+ // path: '/list/search/articles',
+ // name: 'articles',
+ // component: './List/Articles',
+ // },
+ // {
+ // path: '/list/search/projects',
+ // name: 'projects',
+ // component: './List/Projects',
+ // },
+ // {
+ // path: '/list/search/applications',
+ // name: 'applications',
+ // component: './List/Applications',
+ // },
+ // ],
+ // },
+ // ],
+ // },
+ // {
+ // path: '/profile',
+ // name: 'profile',
+ // icon: 'profile',
+ // routes: [
+ // // profile
+ // {
+ // path: '/profile/basic',
+ // name: 'basic',
+ // component: './Profile/BasicProfile',
+ // },
+ // {
+ // path: '/profile/advanced',
+ // name: 'advanced',
+ // authority: ['admin'],
+ // component: './Profile/AdvancedProfile',
+ // },
+ // ],
+ // },
+ // {
+ // name: 'result',
+ // icon: 'check-circle-o',
+ // path: '/result',
+ // routes: [
+ // // result
+ // {
+ // path: '/result/success',
+ // name: 'success',
+ // component: './Result/Success',
+ // },
+ // { path: '/result/fail', name: 'fail', component: './Result/Error' },
+ // ],
+ // },
+ // {
+ // name: 'exception',
+ // icon: 'warning',
+ // path: '/exception',
+ // routes: [
+ // // exception
+ // {
+ // path: '/exception/403',
+ // name: 'not-permission',
+ // component: './Exception/403',
+ // },
+ // {
+ // path: '/exception/404',
+ // name: 'not-find',
+ // component: './Exception/404',
+ // },
+ // {
+ // path: '/exception/500',
+ // name: 'server-error',
+ // component: './Exception/500',
+ // },
+ // {
+ // path: '/exception/trigger',
+ // name: 'trigger',
+ // hideInMenu: true,
+ // component: './Exception/TriggerException',
+ // },
+ // ],
+ // },
+ // {
+ // name: 'account',
+ // icon: 'user',
+ // path: '/account',
+ // routes: [
+ // {
+ // path: '/account/center',
+ // name: 'center',
+ // component: './Account/Center/Center',
+ // routes: [
+ // {
+ // path: '/account/center',
+ // redirect: '/account/center/articles',
+ // },
+ // {
+ // path: '/account/center/articles',
+ // component: './Account/Center/Articles',
+ // },
+ // {
+ // path: '/account/center/applications',
+ // component: './Account/Center/Applications',
+ // },
+ // {
+ // path: '/account/center/projects',
+ // component: './Account/Center/Projects',
+ // },
+ // ],
+ // },
+ // {
+ // path: '/account/settings',
+ // name: 'settings',
+ // component: './Account/Settings/Info',
+ // routes: [
+ // {
+ // path: '/account/settings',
+ // redirect: '/account/settings/base',
+ // },
+ // {
+ // path: '/account/settings/base',
+ // component: './Account/Settings/BaseView',
+ // },
+ // {
+ // path: '/account/settings/security',
+ // component: './Account/Settings/SecurityView',
+ // },
+ // {
+ // path: '/account/settings/binding',
+ // component: './Account/Settings/BindingView',
+ // },
+ // {
+ // path: '/account/settings/notification',
+ // component: './Account/Settings/NotificationView',
+ // },
+ // ],
+ // },
+ // ],
+ // },
{
component: '404',
},
diff --git a/app/web/src/components/SiderMenu/index.less b/app/web/src/components/SiderMenu/index.less
index 418ee931..39905918 100644
--- a/app/web/src/components/SiderMenu/index.less
+++ b/app/web/src/components/SiderMenu/index.less
@@ -13,7 +13,8 @@
img {
display: inline-block;
vertical-align: middle;
- height: 32px;
+ max-height: 32px;
+ max-width:32px;
}
h1 {
color: #000000;
diff --git a/app/web/src/layouts/UserLayout.js b/app/web/src/layouts/UserLayout.js
index 16b70ac7..7a911a9f 100644
--- a/app/web/src/layouts/UserLayout.js
+++ b/app/web/src/layouts/UserLayout.js
@@ -27,7 +27,7 @@ const links = [
const copyright = (