@@ -10,15 +10,15 @@ import main from '../views/main.vue'
1010export const locking = {
1111 path : '/locking' ,
1212 name : 'locking' ,
13- component : ( ) => System . import ( '../components/lockscreen/components/locking-page.vue' )
13+ component : ( ) => import ( '../components/lockscreen/components/locking-page.vue' )
1414} ;
1515export const loginRouter = {
1616 path : '/' ,
1717 name : 'login' ,
1818 meta : {
1919 title : 'LogIn'
2020 } ,
21- component :( ) => System . import ( '../views/login.vue' )
21+ component :( ) => import ( '../views/login.vue' )
2222} ;
2323export const otherRouters = {
2424 path :'/main' ,
@@ -27,7 +27,7 @@ export const otherRouters={
2727 meta :{ title :'ManageMenu' } ,
2828 component :main ,
2929 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' ) }
3131 ]
3232}
3333export const appRouters = [ {
@@ -38,9 +38,9 @@ export const appRouters=[{
3838 icon :'' ,
3939 component :main ,
4040 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' ) }
4444 ]
4545} ]
4646export const routers = [
0 commit comments