const getters = {
    // 用户
    token: state => state.user.token,
    avatar: state => state.user.userInfo.avatar,
    name: state => state.user.userInfo.name,
    userInfo: state => state.user.userInfo,
  }
  export default getters
  