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