@byteluck-fe/model-driven-controls 2.6.0-alpha.13 → 2.6.0-alpha.16

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.
@@ -175,6 +175,7 @@ var GridTableControl = /*#__PURE__*/ function(DesignerListControl1) {
175
175
  function GridTableControl(props) {
176
176
  _classCallCheck(this, GridTableControl);
177
177
  var _this;
178
+ var ref;
178
179
  _this = _super.call(this, props);
179
180
  _this.props = new GridTableControlProperty(_assertThisInitialized(_this), props === null || props === void 0 ? void 0 : props.props);
180
181
  defineControlArrayToProperty(_assertThisInitialized(_this), 'children', props === null || props === void 0 ? void 0 : props.children);
@@ -184,6 +185,9 @@ var GridTableControl = /*#__PURE__*/ function(DesignerListControl1) {
184
185
  new DesignerOperationColumnControl(),
185
186
  ];
186
187
  }
188
+ if ((props === null || props === void 0 ? void 0 : (ref = props.props) === null || ref === void 0 ? void 0 : ref.footers) === undefined) {
189
+ _this.props.footers = [];
190
+ }
187
191
  return _this;
188
192
  }
189
193
  _createClass(GridTableControl, [
@@ -93,7 +93,7 @@ var SubTableControl = /*#__PURE__*/ function(DesignerListControl1) {
93
93
  function SubTableControl(props) {
94
94
  _classCallCheck(this, SubTableControl);
95
95
  var _this;
96
- var ref;
96
+ var ref, ref1;
97
97
  _this = _super.call(this, props);
98
98
  _this.props = new SubTableControlProperty(_assertThisInitialized(_this), props === null || props === void 0 ? void 0 : props.props);
99
99
  // 默认设置三个空列
@@ -104,6 +104,9 @@ var SubTableControl = /*#__PURE__*/ function(DesignerListControl1) {
104
104
  new DesignerSubTableColumnControl(),
105
105
  ];
106
106
  }
107
+ if ((props === null || props === void 0 ? void 0 : (ref1 = props.props) === null || ref1 === void 0 ? void 0 : ref1.footers) === undefined) {
108
+ _this.props.footers = [];
109
+ }
107
110
  return _this;
108
111
  }
109
112
  _createClass(SubTableControl, [