Skip to content

Commit

Permalink
fix(user): getInfo、getInfo api network error causing infinite retries (
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomudk authored May 8, 2022
1 parent 32c0a15 commit a73d4ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/modules/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export const useUserStore = defineStore({

return { menus, perms, userInfo };
} catch (error) {
return Promise.reject(error);
// return this.logout();
}
},
Expand Down

1 comment on commit a73d4ad

@vercel
Copy link

@vercel vercel bot commented on a73d4ad May 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue3-antd-admin – ./

vue3-antd-admin-buqiyuan.vercel.app
vue3-antd-admin.vercel.app
vue3-antd-admin-git-main-buqiyuan.vercel.app

Please sign in to comment.