cloud-b2b 1.1.44 → 1.1.45
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.
|
@@ -487,7 +487,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
487
487
|
maxWidth: "".concat(col.width, "px")
|
|
488
488
|
}
|
|
489
489
|
}, /*#__PURE__*/React.createElement("img", {
|
|
490
|
-
src: value.img
|
|
490
|
+
src: value.img ? '/productDefault.png' : _includesInstanceProperty(_context8 = value.img).call(_context8, 'http') ? value.img : _concatInstanceProperty(_context9 = "".concat(window.location.origin, "/api/proxy/file-center-service/")).call(_context9, value.img),
|
|
491
491
|
onError: function onError(e) {
|
|
492
492
|
return e.target.src = '/productDefault.png';
|
|
493
493
|
},
|
|
@@ -500,7 +500,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
|
|
|
500
500
|
maxWidth: "".concat(col.width, "px")
|
|
501
501
|
}
|
|
502
502
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
503
|
-
src: value.img
|
|
503
|
+
src: value.img ? '/productDefault.png' : (0, _includes["default"])(_context8 = value.img).call(_context8, 'http') ? value.img : (0, _concat["default"])(_context9 = "".concat(window.location.origin, "/api/proxy/file-center-service/")).call(_context9, value.img),
|
|
504
504
|
onError: function onError(e) {
|
|
505
505
|
return e.target.src = '/productDefault.png';
|
|
506
506
|
},
|