@byteluck-fe/model-driven-controls 6.2.0-cyj.4 → 6.2.0-cyj.5

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.
@@ -77,7 +77,10 @@ var LinkProperty = /*#__PURE__*/ function(BaseControlProperty) {
77
77
  _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
78
78
  _this.url = (_ref1 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref1 !== void 0 ? _ref1 : '';
79
79
  _this.openMode = (_ref2 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref2 !== void 0 ? _ref2 : 'new';
80
+ // 链接控件始终隐藏标题
80
81
  _this.isHideCaption = true;
82
+ // 链接控件不需要标题,但是空字符串的话(如没绑定模型字段)会触发必填校验,这里给他个标题,就不会触发必填校验了
83
+ _this.caption = '链接标题';
81
84
  return _this;
82
85
  }
83
86
  return LinkProperty;