dfws-ve-taro-request 0.1.6 → 0.1.7
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.umd.js
CHANGED
@@ -6823,7 +6823,7 @@
|
|
6823
6823
|
return data;
|
6824
6824
|
}
|
6825
6825
|
var type = response.header['Content-Type'] || response.header['content-type'] || '';
|
6826
|
-
if (typeof data.status == 'undefined' && !type.includes('text/html')) {
|
6826
|
+
if (typeof data.status == 'undefined' && (type && !type.includes('text/html'))) {
|
6827
6827
|
data.status = 1;
|
6828
6828
|
data.errMsg = "";
|
6829
6829
|
}
|