long
2021-04-08 c2b28e50d4abc170a55090850f4a6cdd4b06d9e7
提交 | 用户 | age
2a61f6 1 // 路由配置文件
L 2 import Layout from '@/layout'
3
4 export default {
5   path: '/demo',
6   component: Layout,
7   redirect: '/demo/index',
8   name: 'demo',
9   meta: {
10     title: '模板',
11     icon: 'coupon'
12   },
13   children: [
14     {
15       path: 'index',
16       component: () => import('@/pages/demo/index'), // Parent router-view
17       name: 'demoIndex',
18       meta: { title: '模板列表' }
ad3cc5 19     },
L 20     {
36b711 21       path: 'list',
L 22       component: () => import('@/pages/demo/list'), // Parent router-view
23       name: 'demoList',
24       meta: { title: '模板超多列表' }
25     },
26     {
ad3cc5 27       path: 'form',
L 28       component: () => import('@/pages/demo/form'), // Parent router-view
29       name: 'demoForm',
30       meta: { title: '模板表单' }
2a61f6 31     }
L 32   ]
33 }
34