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