@byteluck-fe/model-driven-controls 7.0.0-props.42 → 7.0.0-props.43

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.
@@ -115,7 +115,7 @@ var SwitchProperty = /*#__PURE__*/ function(BaseControlProperty) {
115
115
  _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : SwitchControl.controlName;
116
116
  _this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : false;
117
117
  _this.textDisplayStyle = (_ref2 = props === null || props === void 0 ? void 0 : props.textDisplayStyle) !== null && _ref2 !== void 0 ? _ref2 : 'inside';
118
- _this.checkedText = (_ref3 = props === null || props === void 0 ? void 0 : props.checkedText) !== null && _ref3 !== void 0 ? _ref3 : '';
118
+ _this.checkedText = (_ref3 = props === null || props === void 0 ? void 0 : props.checkedText) !== null && _ref3 !== void 0 ? _ref3 : '开启';
119
119
  _this.checkedTextColor = (_ref4 = props === null || props === void 0 ? void 0 : props.checkedTextColor) !== null && _ref4 !== void 0 ? _ref4 : '';
120
120
  _this.checkedBackgroundColor = (_ref5 = props === null || props === void 0 ? void 0 : props.checkedBackgroundColor) !== null && _ref5 !== void 0 ? _ref5 : '';
121
121
  _this.uncheckedText = (_ref6 = props === null || props === void 0 ? void 0 : props.uncheckedText) !== null && _ref6 !== void 0 ? _ref6 : '';