dfws-ve-taro-request 0.1.0 → 0.1.2

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.
package/dist/index.esm.js CHANGED
@@ -6815,8 +6815,10 @@ var checkStatus = function (response, options, Taro) {
6815
6815
  data.status = 0;
6816
6816
  return data;
6817
6817
  }
6818
- data.status = 1;
6819
- data.errMsg = "";
6818
+ if (typeof data.status == 'undefined') {
6819
+ data.status = 1;
6820
+ data.errMsg = "";
6821
+ }
6820
6822
  return data;
6821
6823
  }
6822
6824
  if (statusCode === 401) {