const getters = {
  isLogin: state => !!state.user.user?.phone,
  token: state => state.user.token,
  user:state => state.user.user,
  allaccounts:state => state.user.allaccounts,
  news_num:state=>state.user.news_num,
  order_count:state=>state.user.order_count,
  history:state=>state.user.history,
  platform: state => state.app.platform,
  system: state => state.app.system,
  article:state=>state.app.article,
  cartList:state => state.goods.cartList,
  selectedCart:state => state.goods.selectedCart,
  hiddenConfig:state => state.app.hiddenConfig,
  config:state => state.app.config,
}
export default getters
