移除 过期显示

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(); this.refresh();
} else { } else {
// 显示还有多长时间过期 // 显示还有多长时间过期
console.log( // console.log(
"Token will expire in " + // "Token will expire in " +
(this.expired_at - Date.now()) / 1000 + // (this.expired_at - Date.now()) / 1000 +
" seconds" // " seconds"
); // );
} }
} }
}, 10 * 1000); }, 10 * 1000);