@@ -10,15 +10,15 @@ import main from '../views/main.vue'
10
10
export const locking = {
11
11
path : '/locking' ,
12
12
name : 'locking' ,
13
- component : ( ) => System . import ( '../components/lockscreen/components/locking-page.vue' )
13
+ component : ( ) => import ( '../components/lockscreen/components/locking-page.vue' )
14
14
} ;
15
15
export const loginRouter = {
16
16
path : '/' ,
17
17
name : 'login' ,
18
18
meta : {
19
19
title : 'LogIn'
20
20
} ,
21
- component :( ) => System . import ( '../views/login.vue' )
21
+ component :( ) => import ( '../views/login.vue' )
22
22
} ;
23
23
export const otherRouters = {
24
24
path :'/main' ,
@@ -27,7 +27,7 @@ export const otherRouters={
27
27
meta :{ title :'ManageMenu' } ,
28
28
component :main ,
29
29
children :[
30
- { path : 'home' , meta :{ title :'HomePage' } , name : 'home' , component :( ) => System . import ( '../views/home/home.vue' ) }
30
+ { path : 'home' , meta :{ title :'HomePage' } , name : 'home' , component :( ) => import ( '../views/home/home.vue' ) }
31
31
]
32
32
}
33
33
export const appRouters = [ {
@@ -38,9 +38,9 @@ export const appRouters=[{
38
38
icon :'' ,
39
39
component :main ,
40
40
children :[
41
- { path : 'user' , permission :'Pages.Users' , meta :{ title :'Users' } , name : 'user' , component :( ) => System . import ( '../views/setting/user/user.vue' ) } ,
42
- { path : 'role' , permission :'Pages.Roles' , meta :{ title :'Roles' } , name : 'role' , component :( ) => System . import ( '../views/setting/role/role.vue' ) } ,
43
- { path : 'tenant' , permission :'Pages.Tenants' , meta :{ title :'Tenants' } , name : 'tenant' , component :( ) => System . import ( '../views/setting/tenant/tenant.vue' ) }
41
+ { path : 'user' , permission :'Pages.Users' , meta :{ title :'Users' } , name : 'user' , component :( ) => import ( '../views/setting/user/user.vue' ) } ,
42
+ { path : 'role' , permission :'Pages.Roles' , meta :{ title :'Roles' } , name : 'role' , component :( ) => import ( '../views/setting/role/role.vue' ) } ,
43
+ { path : 'tenant' , permission :'Pages.Tenants' , meta :{ title :'Tenants' } , name : 'tenant' , component :( ) => import ( '../views/setting/tenant/tenant.vue' ) }
44
44
]
45
45
} ]
46
46
export const routers = [
0 commit comments