12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- export default [
- // {
- // path: '/user',
- // layout: false,
- // routes: [
- // {
- // name: 'login',
- // path: '/user/login',
- // component: './User/Login',
- // },
- // {
- // component: './404',
- // },
- // ],
- // },
- // {
- // path: '/welcome',
- // name: 'welcome',
- // icon: 'smile',
- // component: './Welcome',
- // },
- {
- path: '/rotationChart',
- name: '轮播图管理',
- icon: 'smile',
- // access: 'canAdmin',
- routes: [
- {
- path: '/rotationChart/list',
- name: '轮播图管理',
- icon: 'smile',
- component: './rotationChart/list',
- },
- {
- path: '/rotationChart/add',
- name: '轮播图新增',
- icon: 'smile',
- hideInMenu: true,
- component: './rotationChart/edit',
- },
- {
- path: '/rotationChart/edit',
- name: '轮播图编辑',
- icon: 'smile',
- hideInMenu: true,
- component: './rotationChart/edit',
- },
- {
- component: './404',
- },
- ],
- },
-
- {
- path: '/',
- redirect: '/rotationChart/list',
- },
- {
- component: './404',
- },
- ];
|