diff --git a/packages/design/src/Select.vue b/packages/design/src/Select.vue index 959ba56e..27da248d 100644 --- a/packages/design/src/Select.vue +++ b/packages/design/src/Select.vue @@ -25,7 +25,7 @@ defineOptions({ const props = defineProps(); -const emit = defineEmits(['change', 'update:modelValue', 'visibleHandler']); +const emit = defineEmits(['change', 'update:modelValue', 'visible-change']); const ui = getDesignConfig('components')?.select; @@ -44,7 +44,7 @@ const updateModelValue = (...args: any[]) => { }; const visibleHandler = (...args: any[]) => { - emit('visibleHandler', ...args); + emit('visible-change', ...args); }; const scrollbarWrap = ref();