@titaui/pc 1.10.43 → 1.10.44
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.
|
@@ -61,8 +61,8 @@ var beforeResponse = function beforeResponse(res) {
|
|
|
61
61
|
config.retry = 3;
|
|
62
62
|
config.retryCount = config.retryCount || 0;
|
|
63
63
|
|
|
64
|
-
if (res.data.code ===
|
|
65
|
-
//
|
|
64
|
+
if (res.data.code === 203) {
|
|
65
|
+
// 203错误表示未登录授权或者token失效
|
|
66
66
|
clearToken();
|
|
67
67
|
|
|
68
68
|
if (config.retryCount <= config.retry) {
|