mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 09:41:58 +08:00
7664b8a3d6
Signed-off-by: chaining <ning.chai@qq.com>
8 lines
229 B
JavaScript
8 lines
229 B
JavaScript
const getters = {
|
|
accessToken: state => state.user.accessToken,
|
|
refreshToken: state => state.user.refreshToken,
|
|
userInfo: state => state.user.userInfo,
|
|
hasLogin: state => !!state.user.accessToken
|
|
}
|
|
export default getters
|