mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 17:51:55 +08:00
9 lines
234 B
JavaScript
9 lines
234 B
JavaScript
const getters = {
|
|
token: state => state.user.token,
|
|
avatar: state => state.user.avatar,
|
|
name: state => state.user.name,
|
|
roles: state => state.user.roles,
|
|
permissions: state => state.user.permissions
|
|
}
|
|
export default getters
|