fix(dropdown): fix close popup doesn't emit 'visibleChange' event (#6324)

* fix(dropdown): fix close popup doesn't emit 'visibleChange' event

* Update Dropdown.tsx

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
pull/6333/head
Zz-ZzzZ 2023-03-03 21:45:53 +08:00 committed by GitHub
parent b695dc95e3
commit 3d2d5fdd99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ export default defineComponent({
triggerVisible.value = false;
}
emit('visibleChange', false);
emit('overlayClick', e);
};