Static GitHub Issues

[1240] first access index.vue everything is ok,but access again it's error,HELP!

prev: Why are there two assets at the same time? Why are the ~assets and ~/assets
next: open the page directly 'asyncData' fail and you can successfully navigate to the page through other pages

index.vue

<template lang="pug">
  .container
    .columns
      .column.is-one-third.card.quick-search-box
        header.card-header.hfx-center-v
          label 查找养老机构
          span.stat-count-wrapper
            | {{currentCityName}}共有
            span.stat-count-value {{tpaNumbers}}
            |家
</template>
<script>
  import { mapGetters } from 'vuex'
  export default {
    async fetch ({store}) {
      await store.dispatch('tpa/fetchStats')
    },
    computed: {
      ...mapGetters({
        currentCityName: 'currentCityName',
        tpaNumbers: 'tpa/numbers'
      })
    }
  }
</script>

in the page I dispatch the vuex action 'tpa/fetchStats' in the fetch()

my vuex

import axios from 'axios'

export const state = () => ({
  apiFragment: '/apps/99alive/tpa',
  _columns: [
    {name: '首页', path: '/tpa'},
    {name: '查找', path: '/tpa/query'},
    {name: '对比', path: '/tpa/compare'},
  ], // 当前频道栏目
  _stats: { tpaNumbers: 11 }
})

export const getters = {
  columns (state) {
    return state._columns
  },
  numbers (state) {
    console.log('>>>>>>>>>>', state._stats.tpaNumbers||0)
    return state._stats.tpaNumbers || 0
  }
}
export const mutations = {
  setStats (state, stats) {
    console.log('setStats:', stats)
    stats && (state._stats = stats)

  }
}

export const actions = {
  async fetchStats ({state, commit}) {
    let { data: { ret } } = await axios(`${state.apiFragment}/stats`)
    console.log('---fetch---')
    commit('setStats', ret)
  }
}

first is ok

and when i change other route and route back again,it's error 2017-08-01 09-54-39 anyone HELP??

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1095">#c1095</a>)</em></sub></div>