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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
| const routes = [
| {
| path: "/pages/login/login",
| name: 'login',
| meta: {
| title: '登录',
| },
| },
| {
| path: "/pages/login/loginOauth2",
| name: 'oauth2Login',
| meta: {
| title: 'oauth2登录',
| },
| },
| {
| //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
| path: '/pages/index/index',
| name: 'index',
| meta: {
| title: '主页',
| },
| },
| {
| //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
| path: '/pages/home/home',
| aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
| name: 'home',
| meta: {
| title: '首页',
| },
| },
| {
| //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
| path: '/pages/device/device',
| //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
| name: 'device',
| meta: {
| title: '设备',
| },
| },
| {
| //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
| path: '/pages/spare/spare',
| //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
| name: 'spare',
| meta: {
| title: '备件',
| },
| },
| {
| path: '/pages/user/people',
| name: 'people',
| meta: {
| title: '个人中心',
| },
| },
| {
| path: '/pages/user/userdetail',
| name: 'userdetail',
| meta: {
| title: '个人详情',
| },
| },
| {
| path: '/pages/user/useredit',
| name: 'useredit',
| meta: {
| title: '个人编辑',
| },
| },
| {
| path: '/pages/user/userexit',
| name: 'userexit',
| meta: {
| title: '退出',
| },
| },
| {
| path: '/pages/user/location',
| name: 'location',
| meta: {
| title: '定位',
| },
| },
| {
| path: '/pages/common/exit',
| name: 'exit',
| meta: {
| title: '退出',
| },
| },
| {
| path: '/pages/common/success',
| name: 'success',
| meta: {
| title: 'success',
| },
| },{
| path: '/pages/addressbook/address-book',
| name: 'addressBook',
| meta: {
| title: 'addressBook',
| },
| },
| {
| path: '/pages/addressbook/level-address-book',
| name: 'levelAddressBook',
| meta: {
| title: 'levelAddressBook',
| },
| },
| {
| path: '/pages/addressbook/member',
| name: 'member',
| meta: {
| title: 'member',
| },
| },
| {
| path: '/pages/addressbook/address-detail',
| name: 'addressDetail',
| meta: {
| title: 'addressDetail',
| },
| },
| {
| path: '/pages/annotation/annotationList',
| name: 'annotationList',
| meta: {
| title: '通知公告',
| },
| },
| {
| path: '/pages/TaskManager/TaskManagerList',
| name: 'TaskManagerList',
| meta: {
| title: '任务管理',
| },
| },
| {
| path: '/pages/annotation/annotationDetail',
| name: 'annotationDetail',
| meta: {
| title: '通知详情',
| },
| },
| {
| path: '/pages/common/helloWorld',
| name: 'helloWorld',
| meta: {
| title: 'helloWorld',
| },
| },
|
|
| ]
| export default routes
|
|