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