Blame view
src/store/getters.js
317 Bytes
80a28914e init |
1 2 3 4 5 |
const getters = { sidebar: state => state.app.sidebar, device: state => state.app.device, token: state => state.user.token, avatar: state => state.user.avatar, |
cf56a6c30 init role permission |
6 7 8 |
name: state => state.user.name, roles: state => state.user.roles, permission_routes: state => state.permission.routes |
80a28914e init |
9 10 |
} export default getters |