Skip to content

Commit

Permalink
Merge pull request #281 from xiewenxia/develop
Browse files Browse the repository at this point in the history
fix(select):修复visible-change关闭后不触发问题。#274
  • Loading branch information
chaishi authored Jan 19, 2022
2 parents 95e9997 + 5286759 commit 401e8f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ export default mixins(getConfigReceiverMixins<Vue, SelectConfig>('select')).exte
},
hideMenu() {
this.visible = false;
emitEvent<Parameters<TdSelectProps['onVisibleChange']>>(this, 'visible-change', false);
},
clearSelect(e: MouseEvent) {
e.stopPropagation();
Expand Down

0 comments on commit 401e8f2

Please sign in to comment.