登录后调用 user.get()

This commit is contained in:
icssoa
2025-09-23 15:58:19 +08:00
parent 64a4ec516e
commit 30750cc164

View File

@@ -96,6 +96,7 @@ const agree = ref(false);
// 登录成功
async function toLogin(res: any) {
user.setToken(parse<Token>(res)!);
user.get();
router.nextLogin();
}