easy3wui 1.5.59 → 1.5.60
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.
|
@@ -166,7 +166,7 @@ var Easy3wUpload = function (_Component) {
|
|
|
166
166
|
fileViewFlag = _props.fileViewFlag;
|
|
167
167
|
var limitSize = this.props.limitSize;
|
|
168
168
|
|
|
169
|
-
limitSize = limitSize || maxSize;
|
|
169
|
+
limitSize = limitSize || maxSize || 200;
|
|
170
170
|
var warnMessage = this.props.warnMessage;
|
|
171
171
|
|
|
172
172
|
var iniVal = [];
|
|
@@ -471,7 +471,7 @@ Easy3wUpload.propTypes = {
|
|
|
471
471
|
urlDownloadFile: _propTypes2['default'].string,
|
|
472
472
|
required: _propTypes2['default'].bool, // 是否必须
|
|
473
473
|
help: _propTypes2['default'].string, // 后台附件服务地址
|
|
474
|
-
limitSize:
|
|
474
|
+
// limitSize: PropTypes.number, // 文件大小限制
|
|
475
475
|
listType: _propTypes2['default'].string, // 附件类型
|
|
476
476
|
accept: _propTypes2['default'].string, // 接受类型
|
|
477
477
|
buttonName: _propTypes2['default'].string, // 上传名称
|
|
@@ -489,7 +489,7 @@ Easy3wUpload.defaultProps = {
|
|
|
489
489
|
initialValue: [],
|
|
490
490
|
listType: 'file',
|
|
491
491
|
accept: '',
|
|
492
|
-
|
|
492
|
+
// limitSizeDefault: 200,
|
|
493
493
|
urlUpFileService: '',
|
|
494
494
|
urlDownloadFile: '',
|
|
495
495
|
buttonName: '上传',
|
|
@@ -165,7 +165,7 @@ var Easy3wUploadM = function (_Component) {
|
|
|
165
165
|
fileViewFlag = _props.fileViewFlag;
|
|
166
166
|
var limitSize = this.props.limitSize;
|
|
167
167
|
|
|
168
|
-
limitSize = limitSize || maxSize;
|
|
168
|
+
limitSize = limitSize || maxSize || 200;
|
|
169
169
|
var warnMessage = this.props.warnMessage;
|
|
170
170
|
|
|
171
171
|
var iniVal = [];
|
|
@@ -477,7 +477,7 @@ Easy3wUploadM.propTypes = {
|
|
|
477
477
|
urlDownloadFile: _propTypes2['default'].string,
|
|
478
478
|
required: _propTypes2['default'].bool, // 是否必须
|
|
479
479
|
help: _propTypes2['default'].string, // 后台附件服务地址
|
|
480
|
-
limitSize:
|
|
480
|
+
// limitSize: PropTypes.number, // 文件大小限制
|
|
481
481
|
listType: _propTypes2['default'].string, // 附件类型
|
|
482
482
|
accept: _propTypes2['default'].string, // 接受类型
|
|
483
483
|
buttonName: _propTypes2['default'].string, // 上传名称
|
|
@@ -492,7 +492,7 @@ Easy3wUploadM.defaultProps = {
|
|
|
492
492
|
initialValue: [],
|
|
493
493
|
listType: 'file',
|
|
494
494
|
accept: '',
|
|
495
|
-
limitSize: 200,
|
|
495
|
+
// limitSize: 200,
|
|
496
496
|
urlUpFileService: '',
|
|
497
497
|
urlDownloadFile: '',
|
|
498
498
|
buttonName: '上传',
|