const getters = {
  userInfo: state => state.user.userInfo,
  token: state => state.user.token,
  roles: state => state.user.roles,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  // mycontent
  my_content: state => state.my_content.statuses,
  my_content_option: state => state.my_content.option,
  // imagezoom
  image_zoom_url: state => state.image_zoom.image_url,
  image_zoom_show: state => state.image_zoom.show
}

export default getters
