const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  username: state => state.user.username,
  roles: state => state.user.roles,
  buttons: state => state.user.buttons,
  pastureid: state => state.user.pastureid,
  pasturename: state => state.user.pasturename,
  pasturenumber: state => state.user.pasturenumber,
  employename: state => state.user.employename,
  employeid: state => state.user.employeid,
  dashchartid: state => state.user.dashchartid,
  ispastureuse: state => state.user.ispastureuse,
  decimal: state => state.user.decimal,
  decimalr: state => state.user.decimalr,
  dashchartidisedit: state => state.user.dashchartidisedit,
  permission_routes: state => state.permission.routes
}
export default getters
