ucservice 2.0.5 → 2.0.7

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.
@@ -31442,9 +31442,9 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31442
31442
  contentType
31443
31443
  });
31444
31444
 
31445
- if (contentType.indexOf('application/json') != -1) {
31445
+ if (contentType && contentType.indexOf('application/json') != -1) {
31446
31446
  Object.assign(ajaxContent, {
31447
- data: JSON.stringify(data)
31447
+ data: JSON.stringify(param)
31448
31448
  });
31449
31449
  }
31450
31450
 
Binary file