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