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
|