fix: 修复ElSelect,个别位置偶现底部空间不足遮挡bug

pull/22340/head
gaogeek 2023-01-05 16:08:45 +08:00
parent fa18776b4b
commit 40b03cac03
1 changed files with 4 additions and 1 deletions

View File

@ -402,7 +402,10 @@
}
}
} else {
this.broadcast('ElSelectDropdown', 'updatePopper');
// 30ms
setTimeout(() => {
this.broadcast('ElSelectDropdown', 'updatePopper');
}, 30);
if (this.filterable) {
this.query = this.remote ? '' : this.selectedLabel;
this.handleQueryChange(this.query);