cloud-b2b 1.1.28 → 1.1.30
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.
|
@@ -352,7 +352,8 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
352
352
|
};
|
|
353
353
|
return /*#__PURE__*/React.createElement("a", {
|
|
354
354
|
style: {
|
|
355
|
-
whiteSpace: 'normal'
|
|
355
|
+
whiteSpace: 'normal',
|
|
356
|
+
wordBreak: "break-all"
|
|
356
357
|
},
|
|
357
358
|
onClick: onClick
|
|
358
359
|
}, title);
|
|
@@ -465,11 +466,16 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
465
466
|
whiteSpace: 'nowrap',
|
|
466
467
|
overflow: 'hidden',
|
|
467
468
|
textOverflow: 'ellipsis',
|
|
468
|
-
width: '
|
|
469
|
+
width: '100px'
|
|
469
470
|
},
|
|
470
471
|
onClick: _this.onImgTileClick(col, record, index)
|
|
471
472
|
}, value.title), helper.isEmpty2(value.remark) ? null : /*#__PURE__*/React.createElement("span", {
|
|
472
473
|
style: {
|
|
474
|
+
display: 'block',
|
|
475
|
+
whiteSpace: 'nowrap',
|
|
476
|
+
overflow: 'hidden',
|
|
477
|
+
textOverflow: 'ellipsis',
|
|
478
|
+
width: '100px',
|
|
473
479
|
color: '#333'
|
|
474
480
|
}
|
|
475
481
|
}, value.remark))) : /*#__PURE__*/React.createElement("div", null);
|
|
@@ -565,7 +571,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
565
571
|
col.title = _this.getColumnTitle(col);
|
|
566
572
|
col.dataIndex = col.key;
|
|
567
573
|
col.width = col.width ? col.width : _includesInstanceProperty(_context13 = ['index', 'checked']).call(_context13, col.key) ? 70 : col.type === 'img' ? 200 : 120;
|
|
568
|
-
// const {props = {}} =
|
|
574
|
+
// const {props = {}} =
|
|
569
575
|
// const {edit = false} = props
|
|
570
576
|
// if (!(readonly || col.type === 'readonly') || !this.canReadonly(col.type)) {
|
|
571
577
|
// if ( !edit && ['text', 'number', 'select', 'date', 'search', 'readonly', 'textArea', 'selectSearch'].includes(col.type)){
|
|
@@ -365,7 +365,8 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
365
365
|
};
|
|
366
366
|
return /*#__PURE__*/_react["default"].createElement("a", {
|
|
367
367
|
style: {
|
|
368
|
-
whiteSpace: 'normal'
|
|
368
|
+
whiteSpace: 'normal',
|
|
369
|
+
wordBreak: "break-all"
|
|
369
370
|
},
|
|
370
371
|
onClick: onClick
|
|
371
372
|
}, title);
|
|
@@ -478,11 +479,16 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
478
479
|
whiteSpace: 'nowrap',
|
|
479
480
|
overflow: 'hidden',
|
|
480
481
|
textOverflow: 'ellipsis',
|
|
481
|
-
width: '
|
|
482
|
+
width: '100px'
|
|
482
483
|
},
|
|
483
484
|
onClick: _this.onImgTileClick(col, record, index)
|
|
484
485
|
}, value.title), _helper["default"].isEmpty2(value.remark) ? null : /*#__PURE__*/_react["default"].createElement("span", {
|
|
485
486
|
style: {
|
|
487
|
+
display: 'block',
|
|
488
|
+
whiteSpace: 'nowrap',
|
|
489
|
+
overflow: 'hidden',
|
|
490
|
+
textOverflow: 'ellipsis',
|
|
491
|
+
width: '100px',
|
|
486
492
|
color: '#333'
|
|
487
493
|
}
|
|
488
494
|
}, value.remark))) : /*#__PURE__*/_react["default"].createElement("div", null);
|
|
@@ -578,7 +584,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
578
584
|
col.title = _this.getColumnTitle(col);
|
|
579
585
|
col.dataIndex = col.key;
|
|
580
586
|
col.width = col.width ? col.width : (0, _includes["default"])(_context13 = ['index', 'checked']).call(_context13, col.key) ? 70 : col.type === 'img' ? 200 : 120;
|
|
581
|
-
// const {props = {}} =
|
|
587
|
+
// const {props = {}} =
|
|
582
588
|
// const {edit = false} = props
|
|
583
589
|
// if (!(readonly || col.type === 'readonly') || !this.canReadonly(col.type)) {
|
|
584
590
|
// if ( !edit && ['text', 'number', 'select', 'date', 'search', 'readonly', 'textArea', 'selectSearch'].includes(col.type)){
|