登录后调用 user.get()
This commit is contained in:
@@ -96,6 +96,7 @@ const agree = ref(false);
|
||||
// 登录成功
|
||||
async function toLogin(res: any) {
|
||||
user.setToken(parse<Token>(res)!);
|
||||
user.get();
|
||||
router.nextLogin();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user