From 54e93835d621686f6c950062401cd0dedaa616dd Mon Sep 17 00:00:00 2001 From: xingyu Date: Sat, 12 Aug 2023 17:05:00 +0800 Subject: [PATCH] fix: eslint --- src/components/Icon/src/IconPicker.vue | 19 +++++++------------ src/components/Modal/src/BasicModal.vue | 8 ++++---- .../Modal/src/components/ModalWrapper.vue | 8 ++++---- src/components/Preview/src/Functional.vue | 6 +++--- 4 files changed, 18 insertions(+), 23 deletions(-) diff --git a/src/components/Icon/src/IconPicker.vue b/src/components/Icon/src/IconPicker.vue index bd3d908..e45d967 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) { - +