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