karl-common-util
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -180,2 +180,3 @@ "use strict"; | ||
case 36: | ||
reject({ status: 401, message: "账号令牌已过期,请重新登录" }); | ||
//请求未授权,重新登录 | ||
@@ -185,3 +186,2 @@ if (isBrowser) { | ||
} | ||
reject({ status: 401, message: "重新登录" }); | ||
return _context.abrupt("break", 41); | ||
@@ -188,0 +188,0 @@ |
{ | ||
"name": "karl-common-util", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "karl common lib for client and server", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -117,2 +117,3 @@ import "isomorphic-fetch" | ||
case 401: | ||
reject({status: 401, message: "账号令牌已过期,请重新登录"}) | ||
//请求未授权,重新登录 | ||
@@ -122,3 +123,2 @@ if (isBrowser) { | ||
} | ||
reject({status: 401, message: "重新登录"}) | ||
break | ||
@@ -125,0 +125,0 @@ //其他情况reject |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62422