Skip to content

Commit 5ca9c03

Browse files
committed
fix: lint fixed
1 parent 0599f4b commit 5ca9c03

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/effects/common-ui/src/components/icon-picker/icon-picker.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ const searchInputProps = computed(() => {
165165
};
166166
});
167167
168+
function updateCurrentSelect(v: string) {
169+
currentSelect.value = v;
170+
}
171+
168172
defineExpose({ toggleOpenState, open, close });
169173
</script>
170174
<template>
@@ -184,11 +188,7 @@ defineExpose({ toggleOpenState, open, close });
184188
role="combobox"
185189
:aria-label="$t('ui.iconPicker.placeholder')"
186190
aria-expanded="visible"
187-
:[`onUpdate:${modelValueProp}`]="
188-
(v: string) => {
189-
currentSelect = v;
190-
}
191-
"
191+
:[`onUpdate:${modelValueProp}`]="updateCurrentSelect"
192192
v-bind="$attrs"
193193
>
194194
<template #[iconSlot]>

0 commit comments

Comments
 (0)