vue2-client 1.6.23 → 1.6.25
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/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/utils/request.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/utils/request.js
CHANGED
|
@@ -161,7 +161,7 @@ function loadInterceptors () {
|
|
|
161
161
|
// 判断是否为V4环境,不为compatible赋初始值
|
|
162
162
|
// 其有可能是undefined未定义,或第一次使用本系统LocalStorage在初始化,获得的值为null
|
|
163
163
|
const compatible = getSystemVersion()
|
|
164
|
-
if (compatible === 'V4' || (res.data.code && res.data.
|
|
164
|
+
if (compatible === 'V4' || (res.data.code && res.data.hasOwnProperty('msg'))) {
|
|
165
165
|
// 请求rul
|
|
166
166
|
const requestUrl = res.config.url
|
|
167
167
|
if (res.data.data) {
|