@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 === 401) {
65
- // 401错误表示未登录授权或者token失效
64
+ if (res.data.code === 203) {
65
+ // 203错误表示未登录授权或者token失效
66
66
  clearToken();
67
67
 
68
68
  if (config.retryCount <= config.retry) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.43",
3
+ "version": "1.10.44",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",