diff --git a/src/components/Icon/src/IconPicker.vue b/src/components/Icon/src/IconPicker.vue index bd3d9081..e45d967d 100644 --- a/src/components/Icon/src/IconPicker.vue +++ b/src/components/Icon/src/IconPicker.vue @@ -23,11 +23,6 @@ const props = defineProps({ mode: propTypes.oneOf(['svg', 'iconify']).def('iconify'), }) const emit = defineEmits(['change', 'update:value']) -// 没有使用别名引入,是因为WebStorm当前版本还不能正确识别,会报unused警告 -const AInput = Input -const APopover = Popover -const APagination = Pagination -const AEmpty = Empty function getIcons() { const data = iconsData as any @@ -107,12 +102,12 @@ function handleSearchChange(e: ChangeEvent) { - +