const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  nickname: state => state.user.nickname,
  account: state => state.user.account,
  id: state => state.user.id,
  roles:state => state.user.roles,
  staff_id:state=>state.user.staff_id,
  organization_ids:state=>state.user.organization_ids,
  permissions_routes:state=>state.permission.routes
}
export default getters
