移除 过期显示
This commit is contained in:
parent
dcbf07a6e4
commit
31265fc401
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user