mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
refactor: icons
This commit is contained in:
@@ -9,16 +9,15 @@ import {
|
|||||||
DeleteOutlined
|
DeleteOutlined
|
||||||
} from '@ant-design/icons-vue'
|
} from '@ant-design/icons-vue'
|
||||||
|
|
||||||
// 必须这么写。否则打包正式环境的时候显示不了图标
|
|
||||||
const icons = {
|
const icons = {
|
||||||
PlusCircleOutlined: PlusCircleOutlined,
|
PlusCircleOutlined,
|
||||||
PlusOutlined: PlusOutlined,
|
PlusOutlined,
|
||||||
CheckOutlined: CheckOutlined,
|
CheckOutlined,
|
||||||
EditOutlined: EditOutlined,
|
EditOutlined,
|
||||||
ArrowRightOutlined: ArrowRightOutlined,
|
ArrowRightOutlined,
|
||||||
NodeIndexOutlined: NodeIndexOutlined,
|
NodeIndexOutlined,
|
||||||
ThunderboltOutlined: ThunderboltOutlined,
|
ThunderboltOutlined,
|
||||||
DeleteOutlined: DeleteOutlined
|
DeleteOutlined
|
||||||
}
|
}
|
||||||
export default function (app) {
|
export default function (app) {
|
||||||
_.forEach(icons, (item, key) => {
|
_.forEach(icons, (item, key) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user