zrlibs
2025-03-07 7827a1fdc45c54e125f8263d5b2b17f0be2301f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
const routes = [
    {
        path: '/login',
        name: 'login',
        meta: { title: '登录页面' },
        component: () => import('@/views/account/login.vue')
    },
    {
        path: '/logout',
        name: 'logout',
        meta: { title: '退出登录' },
        component: () => import('@/views/account/logout.vue')
    },
    {
        path: '/',
        component: () => import('@/layout/index.vue'),
        meta: { authorize: true, title: 'vue-project' },
        children: [
            {
                path: 'test-view-1-1',
                name: 'test-view-1-1',
                component: () => import('@/views/test-view-1-1/index.vue'),
                meta: { title: '测试页面1-1' }
            },
            {
                path: 'test-view-1-2',
                name: 'test-view-1-2',
                component: () => import('@/views/test-view-1-2/index.vue'),
                meta: { title: '测试页面1-2' }
            },
            {
                path: 'test-view-1-3',
                name: 'test-view-1-3',
                component: () => import('@/views/test-view-1-3/index.vue'),
                meta: { title: '测试页面1-3' }
            },
            {
                path: 'test-view-2-1',
                name: 'test-view-2-1',
                component: () => import('@/views/test-view-2-1/index.vue'),
                meta: { title: '测试页面2-1' }
            },
            {
                path: 'test-view-2-2',
                name: 'test-view-2-2',
                component: () => import('@/views/test-view-2-2/index.vue'),
                meta: { title: '测试页面2-2' }
            },
            {
                path: 'test-view-2-3',
                name: 'test-view-2-3',
                component: () => import('@/views/test-view-2-3/index.vue'),
                meta: { title: '测试页面2-3' }
            },
            {
                path: 'test-view-3-1',
                name: 'test-view-3-1',
                component: () => import('@/views/test-view-3-1/index.vue'),
                meta: { title: '测试页面3-1' }
            },
            {
                path: 'test-view-3-2',
                name: 'test-view-3-2',
                component: () => import('@/views/test-view-3-2/index.vue'),
                meta: { title: '测试页面3-2' }
            },
            {
                path: 'test-view-3-3',
                name: 'test-view-3-3',
                component: () => import('@/views/test-view-3-3/index.vue'),
                meta: { title: '测试页面3-3' }
            },
            {
                path: 'test-view-4',
                name: 'test-view-4',
                component: () => import('@/views/test-view-4/index.vue'),
                meta: { title: '测试页面4' }
            }
        ]
    }
]
 
export default routes