fix:修复令牌过期无法刷新令牌的bug

Signed-off-by: chaining <ning.chai@qq.com>
This commit is contained in:
chaining
2023-01-09 02:59:27 +00:00
committed by Gitee
parent bbb27df5e9
commit 7664b8a3d6
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,6 @@
const getters = {
accessToken: state => state.user.accessToken,
refreshToken: state => state.user.refreshToken,
userInfo: state => state.user.userInfo,
hasLogin: state => !!state.user.accessToken
}