cloud-b2b 1.1.34 → 1.1.36

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.
@@ -586,7 +586,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
586
586
  } else if (col.showPrice || col.decimalPlaces) {
587
587
  col.render = function (text, record, index) {
588
588
  if (col.showPrice && text) {
589
- text = helper.toThousands(text, col.decimalPlaces ? col.decimalPlaces : 2, true);
589
+ text = helper.toThousands(text, col.decimalPlaces ? col.decimalPlaces : 2);
590
590
  return "\uFFE5".concat(text);
591
591
  } else {
592
592
  return text;
@@ -219,7 +219,7 @@ function SuperUpload(props) {
219
219
  return _fetchImgData.apply(this, arguments);
220
220
  }
221
221
  fetchImgData();
222
- }, []);
222
+ }, [props.fileList]);
223
223
  var onPreview = /*#__PURE__*/function () {
224
224
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(file) {
225
225
  return _regeneratorRuntime.wrap(function _callee3$(_context4) {
@@ -599,7 +599,7 @@ var SuperTable2 = /*#__PURE__*/function (_React$Component) {
599
599
  } else if (col.showPrice || col.decimalPlaces) {
600
600
  col.render = function (text, record, index) {
601
601
  if (col.showPrice && text) {
602
- text = _helper["default"].toThousands(text, col.decimalPlaces ? col.decimalPlaces : 2, true);
602
+ text = _helper["default"].toThousands(text, col.decimalPlaces ? col.decimalPlaces : 2);
603
603
  return "\uFFE5".concat(text);
604
604
  } else {
605
605
  return text;
@@ -231,7 +231,7 @@ function SuperUpload(props) {
231
231
  return _fetchImgData.apply(this, arguments);
232
232
  }
233
233
  fetchImgData();
234
- }, []);
234
+ }, [props.fileList]);
235
235
  var onPreview = /*#__PURE__*/function () {
236
236
  var _ref4 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(file) {
237
237
  return _regenerator["default"].wrap(function _callee3$(_context4) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-b2b",
3
- "version": "1.1.34",
3
+ "version": "1.1.36",
4
4
  "description": "A react component library dependent antd",
5
5
  "keywords": [
6
6
  "react",