const getters = {
  token: (state: { user: { token: any } }) => state.user.token,
  avatar: (state: { user: { avatar: any } }) => state.user.avatar,
  name: (state: { user: { name: any } }) => state.user.name,
  deptInfo: (state: { user: { deptInfo: any } }) => state.user.deptInfo,
  roles: (state: { user: { roles: any } }) => state.user.roles,
  permissions: (state: { user: { permissions: any } }) => state.user.permissions
}
export default getters
