style: 注释console输出
This commit is contained in:
@@ -180,7 +180,7 @@ function beforeRequest(options: OptionsType): OptionsType | Promise<any> {
|
||||
|
||||
/**请求后的拦截 */
|
||||
function interceptorResponse(res: ResultType): ResultType | Promise<any> {
|
||||
console.log('请求后的拦截', res);
|
||||
// console.log('请求后的拦截', res);
|
||||
|
||||
// 登录失效时,移除授权令牌并重新刷新页面
|
||||
if (res.code === 401) {
|
||||
|
||||
Reference in New Issue
Block a user