- 在config里面添加路由
{
name: 'member',
icon: 'usergroup-add',
path: '/member',
routes: [
{
name: 'management',
icon: 'usergroup-add',
path: '/member/management',
component: './member/management',
}
],
}, In the page relative to the inside pages member / management / index.jsx
Modify the name: src / the locales / zh-CN / menu.js
'menu.member': 'Membership Management',
'menu.member.management': 'Membership Management'
4. Modify the chart:
config / Modify icon inside the config.js properties: component selected from a component library name, input icon component name, rather than label references
correctly: icon: 'usergroup-add' ,
the error: