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,
  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,
  depids: state => state.user.depids,
  departmentid: state => state.user.departmentid,
  departmentname: state => state.user.departmentname,
  sumamount: state => state.user.sumamount,
  meslist: state => state.user.meslist,
  permission_routes: state => state.permission.routes,
  isHomePage: state => state.user.isHomePage,
}
export default getters
