@byteluck-fe/model-driven-controls 2.5.0-beta.7 → 2.5.1-alpha.1

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.
@@ -126,12 +126,21 @@ var SubTableControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
126
126
  required: false,
127
127
  message: RulesMessage.getMessage("pleaseEnterCaptionTip")
128
128
  });
129
+ // 行标题必填
130
+ _defineProperty(_assertThisInitialized(_this), "mobileRowCaption", {
131
+ type: "string",
132
+ required: false,
133
+ message: RulesMessage.getMessage("pleaseEnterRowCaption")
134
+ });
129
135
  if (props.openType === "modal") {
130
136
  _this.formKey.required = true;
131
137
  }
132
138
  if (props.isShowCaptionTip) {
133
139
  _this.captionTip.required = true;
134
140
  }
141
+ if (props.mobileShowType === "tile") {
142
+ _this.mobileRowCaption.required = true;
143
+ }
135
144
  return _this;
136
145
  }
137
146
  return SubTableControlPropertyRules;