2021-01-28 01:00:06 +08:00
|
|
|
import _ from 'lodash'
|
|
|
|
|
import {
|
|
|
|
|
PlusCircleOutlined,
|
|
|
|
|
PlusOutlined,
|
|
|
|
|
CheckOutlined, EditOutlined,
|
|
|
|
|
ArrowRightOutlined,
|
|
|
|
|
NodeIndexOutlined,
|
|
|
|
|
ThunderboltOutlined,
|
|
|
|
|
DeleteOutlined
|
|
|
|
|
} from '@ant-design/icons-vue'
|
|
|
|
|
|
|
|
|
|
const icons = {
|
2021-02-09 21:13:19 +08:00
|
|
|
PlusCircleOutlined,
|
|
|
|
|
PlusOutlined,
|
|
|
|
|
CheckOutlined,
|
|
|
|
|
EditOutlined,
|
|
|
|
|
ArrowRightOutlined,
|
|
|
|
|
NodeIndexOutlined,
|
|
|
|
|
ThunderboltOutlined,
|
|
|
|
|
DeleteOutlined
|
2021-01-28 01:00:06 +08:00
|
|
|
}
|
|
|
|
|
export default function (app) {
|
2021-02-09 21:07:19 +08:00
|
|
|
_.forEach(icons, (item, key) => {
|
|
|
|
|
app.component(key, item)
|
2021-01-28 01:00:06 +08:00
|
|
|
})
|
|
|
|
|
}
|