⬆️ upgrade dependencies

This commit is contained in:
landaiqing
2024-09-27 01:34:25 +08:00
parent 172bf00d93
commit d6741aaa6f
13 changed files with 1043 additions and 504 deletions

View File

@@ -29,7 +29,7 @@ router.beforeEach((to, _from, next) => {
start();
const user = useStore().user;
const token: string | undefined = user.user.refreshToken;
const userId: string | undefined = user.user.userId;
const userId: string | undefined = user.user.uid;
// 检查用户是否已登录
const isLoggedIn: boolean = token !== "" && userId !== "";