Select: fix 第一次输入值与第二次输入值完全时一样无法触发重新筛选 bug

pull/21638/head
liusongbai 2022-01-15 16:14:36 +08:00
parent 473ef53f93
commit a3fb02fe7f
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@
} }
}, },
handleQueryChange(val) { handleQueryChange(val) {
if (this.previousQuery === val || this.isOnComposition) return; if (this.isOnComposition) return;
if ( if (
this.previousQuery === null && this.previousQuery === null &&
(typeof this.filterMethod === 'function' || typeof this.remoteMethod === 'function') (typeof this.filterMethod === 'function' || typeof this.remoteMethod === 'function')