cloud-b2b 1.1.13 → 1.1.14
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.
- package/es/SuperForm/SuperForm.js +1 -1
- package/es/SuperForm2/SuperForm.js +1 -1
- package/es/SuperTable2/SuperTable2.js +6 -2
- package/es/SuperUpload/SuperUpload.js +1 -1
- package/lib/SuperForm/SuperForm.js +1 -1
- package/lib/SuperForm2/SuperForm.js +1 -1
- package/lib/SuperTable2/SuperTable2.js +6 -2
- package/lib/SuperUpload/SuperUpload.js +1 -1
- package/package.json +1 -1
|
@@ -420,7 +420,11 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
420
420
|
minWidth: '100px',
|
|
421
421
|
maxWidth: "".concat(col.width - 16, "px"),
|
|
422
422
|
overflow: 'hidden',
|
|
423
|
-
textOverflow: 'ellipsis'
|
|
423
|
+
textOverflow: 'ellipsis',
|
|
424
|
+
display: '-webkit-box',
|
|
425
|
+
WebkitLineClamp: 2,
|
|
426
|
+
WebkitBoxOrient: "vertical",
|
|
427
|
+
whiteSpace: 'break-spaces'
|
|
424
428
|
},
|
|
425
429
|
title: value
|
|
426
430
|
}, value);
|
|
@@ -471,7 +475,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
471
475
|
});
|
|
472
476
|
|
|
473
477
|
case 'custom':
|
|
474
|
-
return _this.props.callback.onRenderCustom(record.key, col.key, value, col.props);
|
|
478
|
+
return _this.props.callback.onRenderCustom(record.key, col.key, value, col.props, col);
|
|
475
479
|
|
|
476
480
|
case 'toolbar':
|
|
477
481
|
//showByKey为true时,每条数据中与按钮key相同的属性值决定按钮是否显示,建议key用下划线开始命名,避免与后台数据冲突
|
|
@@ -469,7 +469,11 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
469
469
|
minWidth: '100px',
|
|
470
470
|
maxWidth: "".concat(col.width - 16, "px"),
|
|
471
471
|
overflow: 'hidden',
|
|
472
|
-
textOverflow: 'ellipsis'
|
|
472
|
+
textOverflow: 'ellipsis',
|
|
473
|
+
display: '-webkit-box',
|
|
474
|
+
WebkitLineClamp: 2,
|
|
475
|
+
WebkitBoxOrient: "vertical",
|
|
476
|
+
whiteSpace: 'break-spaces'
|
|
473
477
|
},
|
|
474
478
|
title: value
|
|
475
479
|
}, value);
|
|
@@ -520,7 +524,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
520
524
|
});
|
|
521
525
|
|
|
522
526
|
case 'custom':
|
|
523
|
-
return _this.props.callback.onRenderCustom(record.key, col.key, value, col.props);
|
|
527
|
+
return _this.props.callback.onRenderCustom(record.key, col.key, value, col.props, col);
|
|
524
528
|
|
|
525
529
|
case 'toolbar':
|
|
526
530
|
//showByKey为true时,每条数据中与按钮key相同的属性值决定按钮是否显示,建议key用下划线开始命名,避免与后台数据冲突
|
|
@@ -292,7 +292,7 @@ function SuperUpload(props) {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
fetchImgData();
|
|
295
|
-
}, []);
|
|
295
|
+
}, [props.fileList]);
|
|
296
296
|
|
|
297
297
|
var onPreview = /*#__PURE__*/function () {
|
|
298
298
|
var _ref4 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(file) {
|