feat: use ant design icon

pull/12/head
xingyu 2023-05-15 15:48:45 +08:00
parent 0851598643
commit 875bdf4c67
3 changed files with 8 additions and 7 deletions

View File

@ -68,5 +68,6 @@ export enum IconEnum {
PREVIEW = 'ant-design:eye-outlined',
ADD_FOLD = 'ant-design:folder-add-outlined',
LOG = 'ant-design:exception-outlined',
PASSWORD = 'ant-design:key-outlined'
PASSWORD = 'ant-design:key-outlined',
SETTING = 'ant-design:setting-outlined'
}

View File

@ -55,7 +55,7 @@ export const ProfileRoute: AppRouteRecordRaw = {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:user',
icon: 'ant-design:user-outlined',
title: t('routes.basic.profile')
}
},
@ -67,7 +67,7 @@ export const ProfileRoute: AppRouteRecordRaw = {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:message',
icon: 'ant-design:bell-outlined',
title: t('routes.basic.notifyMessage')
}
}
@ -91,7 +91,7 @@ export const CodegenRoute: AppRouteRecordRaw = {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:edit',
icon: 'ant-design:edit-outlined',
title: '修改生成配置',
activeMenu: 'infra/codegen/index'
}
@ -116,7 +116,7 @@ export const JobLogRoute: AppRouteRecordRaw = {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:edit',
icon: 'ant-design:bar-chart-outlined',
title: '调度日志',
activeMenu: 'infra/job/index'
}
@ -141,7 +141,7 @@ export const PayRoute: AppRouteRecordRaw = {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:edit',
icon: 'ant-design:pay-circle-outlined',
title: '收银台',
activeMenu: 'pay/order/index'
}

View File

@ -24,7 +24,7 @@
'&size=250*180'
"
/>
<Icon icon="ep:location" />
<Icon icon="ant-design:environment-outlined" />
{{ label }}
</a-button>
</div>