diff --git a/packages/ui/certd-ui/src/icons.js b/packages/ui/certd-ui/src/icons.js index 44439562..70b38c39 100644 --- a/packages/ui/certd-ui/src/icons.js +++ b/packages/ui/certd-ui/src/icons.js @@ -9,16 +9,15 @@ import { DeleteOutlined } from '@ant-design/icons-vue' -// 必须这么写。否则打包正式环境的时候显示不了图标 const icons = { - PlusCircleOutlined: PlusCircleOutlined, - PlusOutlined: PlusOutlined, - CheckOutlined: CheckOutlined, - EditOutlined: EditOutlined, - ArrowRightOutlined: ArrowRightOutlined, - NodeIndexOutlined: NodeIndexOutlined, - ThunderboltOutlined: ThunderboltOutlined, - DeleteOutlined: DeleteOutlined + PlusCircleOutlined, + PlusOutlined, + CheckOutlined, + EditOutlined, + ArrowRightOutlined, + NodeIndexOutlined, + ThunderboltOutlined, + DeleteOutlined } export default function (app) { _.forEach(icons, (item, key) => {