commit | author | age | ||
efef1c | 1 | const getters = { |
Z | 2 | token: state => state.user.token, |
3 | avatar: state => state.user.avatar, | |
4 | name: state => state.user.name, | |
5 | roles: state => state.user.roles, | |
6 | permissions: state => state.user.permissions | |
7 | } | |
8 | export default getters |