|
@@ -61,65 +61,65 @@ export const constantRoutes: Array<any> = [
|
|
|
name:'Order',
|
|
|
component:() => import('@/views/demo/order/order.vue')
|
|
|
},
|
|
|
- {
|
|
|
- path:'/demo',
|
|
|
- name:'Demo',
|
|
|
- hidden: true,
|
|
|
- component:() => import('@/views/demo/index.vue'),
|
|
|
- // redirect: 'form',
|
|
|
- children:[
|
|
|
- {
|
|
|
- path:'form',
|
|
|
- component:()=> import('@/views/demo/form.vue'),
|
|
|
- name:'Form',
|
|
|
- meta: {
|
|
|
- title: '表单',
|
|
|
- activeMenu: '/system/user'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path:'table',
|
|
|
- component:()=> import('@/views/demo/table.vue'),
|
|
|
- name:'Table',
|
|
|
- meta: {
|
|
|
- title: '表格',
|
|
|
- activeMenu: '/system/user'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path:'moduleView',
|
|
|
- component:()=> import('@/views/demo/moduleView.vue'),
|
|
|
- name:'ModuleView',
|
|
|
- meta: {
|
|
|
- title: 'view封装'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path:'bill',
|
|
|
- component:()=> import('@/views/demo/bill.vue'),
|
|
|
- name:'Bill',
|
|
|
- meta: {
|
|
|
- title: '单据'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path:'dialog',
|
|
|
- component:()=> import('@/views/demo/dialogDemo.vue'),
|
|
|
- name:'Dialog',
|
|
|
- meta: {
|
|
|
- title: '弹窗'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path:'tab',
|
|
|
- component:()=> import('@/views/demo/tab.vue'),
|
|
|
- name:'Tab',
|
|
|
- meta: {
|
|
|
- title: '标签'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
+ // {
|
|
|
+ // path:'/demo',
|
|
|
+ // name:'Demo',
|
|
|
+ // hidden: true,
|
|
|
+ // component:() => import('@/views/demo/index.vue'),
|
|
|
+ // // redirect: 'form',
|
|
|
+ // children:[
|
|
|
+ // {
|
|
|
+ // path:'form',
|
|
|
+ // component:()=> import('@/views/demo/form.vue'),
|
|
|
+ // name:'Form',
|
|
|
+ // meta: {
|
|
|
+ // title: '表单',
|
|
|
+ // activeMenu: '/system/user'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path:'table',
|
|
|
+ // component:()=> import('@/views/demo/table.vue'),
|
|
|
+ // name:'Table',
|
|
|
+ // meta: {
|
|
|
+ // title: '表格',
|
|
|
+ // activeMenu: '/system/user'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path:'moduleView',
|
|
|
+ // component:()=> import('@/views/demo/moduleView.vue'),
|
|
|
+ // name:'ModuleView',
|
|
|
+ // meta: {
|
|
|
+ // title: 'view封装'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path:'bill',
|
|
|
+ // component:()=> import('@/views/demo/bill.vue'),
|
|
|
+ // name:'Bill',
|
|
|
+ // meta: {
|
|
|
+ // title: '单据'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path:'dialog',
|
|
|
+ // component:()=> import('@/views/demo/dialogDemo.vue'),
|
|
|
+ // name:'Dialog',
|
|
|
+ // meta: {
|
|
|
+ // title: '弹窗'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path:'tab',
|
|
|
+ // component:()=> import('@/views/demo/tab.vue'),
|
|
|
+ // name:'Tab',
|
|
|
+ // meta: {
|
|
|
+ // title: '标签'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
]
|
|
|
|
|
|
// 动态路由,基于用户权限动态去加载
|