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.
@@ -31451,9 +31451,9 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31451
31451
  contentType
31452
31452
  });
31453
31453
 
31454
- if (contentType.indexOf('application/json') != -1) {
31454
+ if (contentType && contentType.indexOf('application/json') != -1) {
31455
31455
  Object.assign(ajaxContent, {
31456
- data: JSON.stringify(data)
31456
+ data: JSON.stringify(param)
31457
31457
  });
31458
31458
  }
31459
31459
 
Binary file