Commit 9a3d41cc authored by afc163's avatar afc163

change menu icons

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