cloud-b2b 1.1.34 → 1.1.35
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.
|
@@ -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) {
|
|
@@ -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) {
|