移除 过期显示

This commit is contained in:
ivamp 2024-08-03 02:01:18 +08:00
parent dcbf07a6e4
commit 31265fc401

View File

@ -48,11 +48,11 @@ export const useUserStore = defineStore("user", {
this.refresh();
} else {
// 显示还有多长时间过期
console.log(
"Token will expire in " +
(this.expired_at - Date.now()) / 1000 +
" seconds"
);
// console.log(
// "Token will expire in " +
// (this.expired_at - Date.now()) / 1000 +
// " seconds"
// );
}
}
}, 10 * 1000);