@@ -47,6 +47,7 @@ export const constantRouterMap = [
47
47
{
48
48
path : '/api_excel' ,
49
49
component : Layout ,
50
+ redirect : '/api_excel/index' ,
50
51
name : 'Excel-List' ,
51
52
meta : { title : '批量测试管理' , icon : 'ico-table' } ,
52
53
children : [
@@ -178,6 +179,8 @@ export const constantRouterMap = [
178
179
name : '权限' ,
179
180
meta : { title : '权限管理' , icon : 'auth' } ,
180
181
children : [
182
+ { path : 'index' , name : 'userIndex' , component : ( ) => import ( '@/views/user/index' ) , hidden : true } ,
183
+ { path : 'password' , name : 'userPassword' , component : ( ) => import ( '@/views/user/password' ) , hidden : true } ,
181
184
{ path : '/user/add' , name : 'AddUser' , component : ( ) => import ( '@/views/user/add' ) , hidden : true } ,
182
185
{ path : '/user/edit/:id' , name : 'EditUser' , component : ( ) => import ( '@/views/user/edit' ) , hidden : true } ,
183
186
{
@@ -206,17 +209,6 @@ export const constantRouterMap = [
206
209
]
207
210
} ,
208
211
209
- {
210
- path : '/user' ,
211
- component : Layout ,
212
- redirect : '/user/index' ,
213
- hidden : true ,
214
- children : [
215
- { path : 'index' , name : 'userIndex' , component : ( ) => import ( '@/views/user/index' ) , hidden : true } ,
216
- { path : 'password' , name : 'userPassword' , component : ( ) => import ( '@/views/user/password' ) , hidden : true }
217
- ]
218
- } ,
219
-
220
212
{
221
213
path : '/form' ,
222
214
component : Layout ,
0 commit comments