12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- export const routerConfig = [
- {
- path: '/user',
- component: '../layouts/UserLayout',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './user/login',
- },
- ],
- },
- { path: '/', redirect: '/welcome' },
- {
- path: '/',
- component: '../layouts/BasicLayout',
- routes: [
- {
- name: '欢迎',
- path: '/welcome',
- icon: 'smile',
- component: './Welcome',
- },
- {
- name: '数据统计',
- path: '/statistics',
- icon: 'dashboard',
- hideInMenu: true,
- routes: [
- {
- component: './404',
- },
- ]
- },
- {
- name: '活动管理',
- path: '/activity',
- icon: 'flag',
- hideInMenu: true,
- routes: [
- {
- component: './404',
- },
- ],
- },
- {
- name: '系统管理',
- path: '/system',
- icon: 'setting',
- hideInMenu: true,
- routes: [
- {
- component: './404',
- },
- ],
- },
- {
- name: '财务管理',
- path: '/finance',
- icon: 'dollar',
- hideInMenu: true,
- routes: [
- {
- component: './404',
- },
- ],
- },
- ],
- },
- {
- component: './404',
- },
- ];
|