style: 注释console输出

This commit is contained in:
TsMask
2023-10-21 14:08:47 +08:00
parent af5d3c0c98
commit 1dd30dbd08
2 changed files with 1 additions and 2 deletions

View File

@@ -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);

View File

@@ -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) {