style: 注释console输出
This commit is contained in:
@@ -137,7 +137,6 @@ let serverTime = reactive({
|
||||
// 获取服务器时间
|
||||
function fnGetServerTime() {
|
||||
getServerTime().then(res => {
|
||||
console.log(res.data);
|
||||
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
||||
// 时间戳
|
||||
serverTime.timestamp = parseInt(res.data.timestamp);
|
||||
|
||||
@@ -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