@byteluck-fe/model-driven-controls 2.23.0-beta.26-dx → 2.23.0-beta.27-dx
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.
|
@@ -133,7 +133,7 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
133
133
|
var _this;
|
|
134
134
|
_this = _call_super(this, AttachmentProperty, [
|
|
135
135
|
props
|
|
136
|
-
]), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
|
|
136
|
+
]), _define_property(_this, "storageType", void 0), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
|
|
137
137
|
_define_property(_this, "showType", void 0), _define_property(_this, "resultShowType", void 0), _define_property(_this, "attachmentAccept", void 0), _define_property(_this, "maxLimit", void 0), _define_property(_this, "minLimit", void 0), _define_property(_this, "isShowWatermark", void 0 // 是否开启水印
|
|
138
138
|
), _define_property(_this, "watermarkFx", void 0), /**
|
|
139
139
|
* maxSize 存储大小,单位为Byte,默认值为100MB
|
|
@@ -167,6 +167,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
167
167
|
'preview',
|
|
168
168
|
'download'
|
|
169
169
|
];
|
|
170
|
+
var _props_storageType;
|
|
171
|
+
_this.storageType = (_props_storageType = props === null || props === void 0 ? void 0 : props.storageType) !== null && _props_storageType !== void 0 ? _props_storageType : 'local';
|
|
170
172
|
return _this;
|
|
171
173
|
}
|
|
172
174
|
return AttachmentProperty;
|