@easyquery/enterprise 7.2.4-rc02 → 7.2.4-rc03

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -488,9 +488,11 @@ var QueryEx = /** @class */ (function (_super) {
488
488
  if (addChildCondition) {
489
489
  var model = this.getModel();
490
490
  var attr = model.getFirstUICAttr();
491
- var op = model.getDefaultOperatorForAttr(attr);
492
- var cond = this.createSimpleConditionObject(attr, op, "");
493
- group.addCondition(cond);
491
+ if (attr) {
492
+ var op = model.getDefaultOperatorForAttr(attr);
493
+ var cond = this.createSimpleConditionObject(attr, op, "");
494
+ group.addCondition(cond);
495
+ }
494
496
  }
495
497
  parent.addCondition(group);
496
498
  return group;