dfws-ve-taro-request 0.1.3 → 0.1.4
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 +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -6816,7 +6816,7 @@ var checkStatus = function (response, options, Taro) {
|
|
6816
6816
|
data.status = 0;
|
6817
6817
|
return data;
|
6818
6818
|
}
|
6819
|
-
if (typeof data.status == 'undefined') {
|
6819
|
+
if (typeof data.status == 'undefined' && !response.header['Content-Type'].includes('text/html')) {
|
6820
6820
|
data.status = 1;
|
6821
6821
|
data.errMsg = "";
|
6822
6822
|
}
|