移动端

11 lines
333 B

2 months ago
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,
userId: state => state.user.id,
2 months ago
phone: state => state.user.phone,
deptId: state => state.user.deptId
2 months ago
}
export default getters