Skip to content

Commit

Permalink
fix: USelectblur事件修复
Browse files Browse the repository at this point in the history
  • Loading branch information
myronliu347 committed Oct 9, 2024
1 parent 08b054a commit 2dcb383
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/u-select.vue/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ export default {
onBlur(e) {
if (!this.filterable)
return; // 这边必须要用 setTimeout,$nextTick 也不行,需要保证在 @select 之后完成
this.preventBlur = false;
this.inputBlurTimer = setTimeout(() => {
if (this.preventBlur)
return (this.preventBlur = false);
Expand Down

0 comments on commit 2dcb383

Please sign in to comment.