ucservice 2.0.5 → 2.0.6

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,7 +31442,7 @@ 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
31447
  data: JSON.stringify(data)
31448
31448
  });
Binary file