mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-30 22:42:09 +08:00
fix(design): select visible-change事件名写错
This commit is contained in:
parent
da9884645f
commit
27555d6b2f
@ -25,7 +25,7 @@ defineOptions({
|
||||
|
||||
const props = defineProps<SelectProps>();
|
||||
|
||||
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<HTMLDivElement | undefined>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user