fix: bug
This commit is contained in:
parent
efa90cac6a
commit
60790fc6fd
|
|
@ -118,6 +118,7 @@ class QueryBuilder {
|
||||||
|
|
||||||
if (this.rules.length === 0) this.rules = [this._emptyRule()];
|
if (this.rules.length === 0) this.rules = [this._emptyRule()];
|
||||||
this.render();
|
this.render();
|
||||||
|
this.onChange?.(this.getQuery());
|
||||||
}
|
}
|
||||||
|
|
||||||
_queryToRule(clause) {
|
_queryToRule(clause) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue