用户登录完善2
This commit is contained in:
parent
1c1c7a944e
commit
9ceb97c10c
@ -16,7 +16,6 @@ const init = async () => {
|
||||
try {
|
||||
const route = useRoute();
|
||||
const token = route.query.token as string; // 获取token参数
|
||||
console.log('Token:', token);
|
||||
setToken(token)
|
||||
const result = await getUserInfo();
|
||||
userStore.setUserInfo(result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user