Skip to content

Commit

Permalink
fix(dropdown): fix close popup doesn't emit 'visibleChange' event (#6324
Browse files Browse the repository at this point in the history
)

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

* Update Dropdown.tsx

---------

Co-authored-by: tangjinzhou <415800467@qq.com>
  • Loading branch information
Zz-ZzzZ and tangjinzhou authored Mar 3, 2023
1 parent b695dc9 commit 3d2d5fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/vc-dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export default defineComponent({
triggerVisible.value = false;
}

emit('visibleChange', false);
emit('overlayClick', e);
};

Expand Down

0 comments on commit 3d2d5fd

Please sign in to comment.