mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
7 lines
179 B
JavaScript
7 lines
179 B
JavaScript
const getters = {
|
|
accessToken: state => state.user.accessToken,
|
|
userInfo: state => state.user.userInfo,
|
|
hasLogin: state => !!state.user.accessToken
|
|
}
|
|
export default getters
|