const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  nickName: state => state.user.nickName,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  wgtcode:state => state.user.wgtcode,
  autologin:state => state.user.autologin,
  deptId:state=>state.user.deptId,
  deptName: state => state.user.deptName,
  userId:state=>state.user.userId,
  phonenumber: state => state.user.phonenumber,
}
export default getters
