ucservice 2.0.8 → 2.0.9

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.
@@ -31460,9 +31460,11 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31460
31460
 
31461
31461
  $.ajax(ajaxContent).fail(function (jqXHR, sts) {
31462
31462
  console.error('加载数据失败:' + sts + ", " + url);
31463
+ throw new Error('请求失败!');
31463
31464
  }).done(function (ret) {
31464
31465
  if (!ret || ret.code != 0) {
31465
31466
  console.error('加载数据失败:' + JSON.stringify(ret) + ", " + url);
31467
+ throw new Error('加载数据失败!');
31466
31468
  }
31467
31469
 
31468
31470
  if (backSuccfn) backSuccfn(ret);
Binary file