bhd-components 0.10.20 → 0.10.21

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.
@@ -260,15 +260,18 @@ const Footer = /*#__PURE__*/ forwardRef((props, ref)=>{
260
260
  });
261
261
  }
262
262
  let msgContent = "";
263
+ let sendValue = recordRef.current.value;
264
+ let referencesSourceValue = recordRef.current.referencesSource;
265
+ let fileListValue = fileListRef.current ? fileListRef.current.getFileList() : [];
263
266
  setSending(true);
264
267
  setTextValue("");
265
268
  fileListRef.current.clearFileList();
266
269
  setReferencesSource(null);
267
270
  let recordMsgObj = {};
268
271
  let arg = [
269
- recordRef.current.value,
270
- recordRef.current.referencesSource,
271
- fileListRef.current ? fileListRef.current.getFileList() : []
272
+ sendValue,
273
+ referencesSourceValue,
274
+ fileListValue
272
275
  ];
273
276
  if (recordObj) {
274
277
  arg = [
@@ -278,9 +281,9 @@ const Footer = /*#__PURE__*/ forwardRef((props, ref)=>{
278
281
  ];
279
282
  } else {
280
283
  arg = [
281
- recordRef.current.value,
282
- recordRef.current.referencesSource,
283
- fileListRef.current ? fileListRef.current.getFileList() : []
284
+ sendValue,
285
+ referencesSourceValue,
286
+ fileListValue
284
287
  ];
285
288
  }
286
289
  beforeSendMsg(...arg).then((beforeInfo)=>{
@@ -272,15 +272,18 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
272
272
  });
273
273
  }
274
274
  var msgContent = "";
275
+ var sendValue = recordRef.current.value;
276
+ var referencesSourceValue = recordRef.current.referencesSource;
277
+ var fileListValue = fileListRef.current ? fileListRef.current.getFileList() : [];
275
278
  setSending(true);
276
279
  setTextValue("");
277
280
  fileListRef.current.clearFileList();
278
281
  setReferencesSource(null);
279
282
  var recordMsgObj = {};
280
283
  var arg = [
281
- recordRef.current.value,
282
- recordRef.current.referencesSource,
283
- fileListRef.current ? fileListRef.current.getFileList() : []
284
+ sendValue,
285
+ referencesSourceValue,
286
+ fileListValue
284
287
  ];
285
288
  if (recordObj) {
286
289
  arg = [
@@ -290,9 +293,9 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
290
293
  ];
291
294
  } else {
292
295
  arg = [
293
- recordRef.current.value,
294
- recordRef.current.referencesSource,
295
- fileListRef.current ? fileListRef.current.getFileList() : []
296
+ sendValue,
297
+ referencesSourceValue,
298
+ fileListValue
296
299
  ];
297
300
  }
298
301
  beforeSendMsg.apply(void 0, _to_consumable_array(arg)).then(function(beforeInfo) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.10.20",
3
+ "version": "0.10.21",
4
4
  "description": "组件功能描述",
5
5
  "config": {
6
6
  "commitizen": {