11import LoadableComponent from './../Loadable/index' ;
2+ import { HomeOutlined , UserOutlined , TagsOutlined , AppstoreOutlined , InfoCircleOutlined } from '@ant-design/icons' ;
23
34export const userRouter : any = [
45 {
@@ -25,7 +26,6 @@ export const appRouters: any = [
2526 name : 'home' ,
2627 permission : '' ,
2728 title : 'Home' ,
28- icon : 'home' ,
2929 component : LoadableComponent ( ( ) => import ( '../../components/Layout/AppLayout' ) ) ,
3030 isLayout : true ,
3131 showInMenu : false ,
@@ -35,7 +35,7 @@ export const appRouters: any = [
3535 name : 'dashboard' ,
3636 permission : '' ,
3737 title : 'Dashboard' ,
38- icon : 'home' ,
38+ icon : HomeOutlined ,
3939 showInMenu : true ,
4040 component : LoadableComponent ( ( ) => import ( '../../scenes/Dashboard' ) ) ,
4141 } ,
@@ -44,7 +44,7 @@ export const appRouters: any = [
4444 permission : 'Pages.Users' ,
4545 title : 'Users' ,
4646 name : 'user' ,
47- icon : 'user' ,
47+ icon : UserOutlined ,
4848 showInMenu : true ,
4949 component : LoadableComponent ( ( ) => import ( '../../scenes/Users' ) ) ,
5050 } ,
@@ -53,7 +53,7 @@ export const appRouters: any = [
5353 permission : 'Pages.Roles' ,
5454 title : 'Roles' ,
5555 name : 'role' ,
56- icon : 'tags' ,
56+ icon : TagsOutlined ,
5757 showInMenu : true ,
5858 component : LoadableComponent ( ( ) => import ( '../../scenes/Roles' ) ) ,
5959 } ,
@@ -62,7 +62,7 @@ export const appRouters: any = [
6262 permission : 'Pages.Tenants' ,
6363 title : 'Tenants' ,
6464 name : 'tenant' ,
65- icon : 'appstore' ,
65+ icon : AppstoreOutlined ,
6666 showInMenu : true ,
6767 component : LoadableComponent ( ( ) => import ( '../../scenes/Tenants' ) ) ,
6868 } ,
@@ -71,7 +71,7 @@ export const appRouters: any = [
7171 permission : '' ,
7272 title : 'About' ,
7373 name : 'about' ,
74- icon : 'info-circle' ,
74+ icon : InfoCircleOutlined ,
7575 showInMenu : true ,
7676 component : LoadableComponent ( ( ) => import ( '../../scenes/About' ) ) ,
7777 } ,
@@ -80,7 +80,6 @@ export const appRouters: any = [
8080 permission : '' ,
8181 title : 'Logout' ,
8282 name : 'logout' ,
83- icon : 'info-circle' ,
8483 showInMenu : false ,
8584 component : LoadableComponent ( ( ) => import ( '../../components/Logout' ) ) ,
8685 } ,
@@ -89,7 +88,6 @@ export const appRouters: any = [
8988 permission : '' ,
9089 title : 'exception' ,
9190 name : 'exception' ,
92- icon : 'info-circle' ,
9391 showInMenu : false ,
9492 component : LoadableComponent ( ( ) => import ( '../../scenes/Exception' ) ) ,
9593 } ,
0 commit comments