route.js
1.08 KB
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
/*
* @Date: 2024-08-26 10:42:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-30 09:47:44
* @FilePath: /hager/src/route.js
* @Description: 文件描述
*/
export default [{
path: '/',
name: '首页',
component: () => import('@/views/index'),
meta: {
title: '海格电器',
tag: 'index'
},
children: []
}, {
path: '/product/index',
name: '二级目录',
component: () => import('@/views/product/index'),
meta: {
title: '海格电器',
tag: 'product'
},
children: []
}, {
path: '/product/detail',
name: '详情页',
component: () => import('@/views/product/detail'),
meta: {
title: '海格电器',
tag: 'product'
},
children: []
}, {
path: '/solution/index',
name: '解决方案',
component: () => import('@/views/solution/index'),
meta: {
title: '海格电器',
tag: 'solution'
},
children: []
}, {
path: '/solution/detail',
name: '解决方案详情',
component: () => import('@/views/solution/detail'),
meta: {
title: '海格电器',
tag: 'solution'
},
children: []
}]