Commit 9a3d41cc authored by afc163's avatar afc163

change menu icons

parent 6efdab5a
......@@ -44,60 +44,52 @@ function userAdapter(userData) {
export const user = [{
name: '帐户',
icon: 'setting',
icon: 'user',
path: 'user',
children: [{
name: '登录',
path: 'login',
component: Login,
icon: 'setting',
}, {
name: 'ζ³¨ε†Œ',
path: 'register',
component: Register,
icon: 'setting',
}, {
name: 'ζ³¨ε†Œη»“ζžœ',
path: 'register-result',
component: RegisterResult,
icon: 'setting',
}],
}];
export const menus = [{
name: 'Dashboard',
icon: 'setting',
icon: 'dashboard',
path: 'dashboard',
children: [{
name: 'εˆ†ζžι‘΅',
path: 'analysis',
component: Analysis,
icon: 'setting',
}, {
name: 'η›‘ζŽ§ι‘΅',
path: 'monitor',
component: Monitor,
icon: 'setting',
}, {
name: 'ε·₯作台',
path: 'workplace',
component: Workplace,
icon: 'setting',
}],
}, {
name: '葨单鑡',
path: 'form',
icon: 'setting',
icon: 'form',
children: [{
name: 'εŸΊη‘€θ‘¨ε•',
path: 'basic-form',
component: BasicForm,
icon: 'setting',
}, {
name: 'εˆ†ζ­₯葨单',
path: 'step-form',
component: StepForm,
icon: 'setting',
children: [{
path: 'confirm',
component: Step2,
......@@ -109,86 +101,73 @@ export const menus = [{
name: 'ι«˜ηΊ§θ‘¨ε•',
path: 'advanced-form',
component: AdvancedForm,
icon: 'setting',
}],
}, {
name: 'εˆ—θ‘¨ι‘΅',
path: 'list',
icon: 'setting',
icon: 'table',
children: [{
name: 'ζ ‡ε‡†θ‘¨ζ ΌοΌˆθ‘¨ζ ΌζŸ₯θ―’οΌ‰',
path: 'table-list',
component: TableList,
icon: 'setting',
}, {
name: 'ζ ‡ε‡†εˆ—θ‘¨',
path: 'basic-list',
component: BasicList,
icon: 'setting',
}, {
name: 'ε‘η‰‡εˆ—θ‘¨',
path: 'card-list',
component: CardList,
icon: 'setting',
}, {
name: 'ε‘η‰‡εˆ—θ‘¨οΌˆε°ι’οΌ‰',
path: 'cover-card-list',
component: CoverCardList,
icon: 'setting',
}, {
name: 'εΈ¦η­›ι€‰ε‘η‰‡εˆ—θ‘¨',
path: 'filter-card-list',
component: FilterCardList,
icon: 'setting',
}, {
name: 'ζœη΄’εˆ—θ‘¨',
path: 'search',
component: SearchList,
icon: 'setting',
}],
}, {
name: 'θ―¦ζƒ…ι‘΅',
path: 'profile',
component: Profile,
icon: 'setting',
icon: 'profile',
}, {
name: 'η»“ζžœ',
path: 'result',
icon: 'setting',
icon: 'check-circle-o',
children: [{
name: '成功',
path: 'success',
component: Success,
icon: 'setting',
}, {
name: 'ε€±θ΄₯',
path: 'fail',
component: Error,
icon: 'setting',
}],
}, {
name: 'ι”™θ――',
path: 'error',
icon: 'setting',
icon: 'warning',
children: [{
name: '403',
path: '403',
component: Exception403,
icon: 'setting',
}, {
name: '404',
path: '404',
component: Exception404,
icon: 'setting',
}, {
name: '500',
path: '500',
component: Exception500,
icon: 'setting',
}],
}, userAdapter(JSON.parse(JSON.stringify(user[0])))];
export default [{
component: BasicLayout,
name: 'ι¦–ι‘΅',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment