chore
This commit is contained in:
@@ -78,11 +78,11 @@ export const useUserStore = defineStore(
|
||||
};
|
||||
|
||||
const userGetInfo = async () => {
|
||||
const [err, userInfo] = await userClient.get<any>(`/api/oauth/anyone/getUserInfoById`);
|
||||
if (err || !userInfo) {
|
||||
const [err, info] = await userClient.get<any>(`/api/oauth/anyone/getUserInfoById`);
|
||||
if (err || !info) {
|
||||
throw err;
|
||||
}
|
||||
userInfo.value = userInfo;
|
||||
userInfo.value = info;
|
||||
};
|
||||
|
||||
const userGetResourceList = async () => {
|
||||
|
||||
Reference in New Issue
Block a user