Open clevergod opened 6 years ago
重要信息:当多次访问路由时, asyncData ({ store }) { store.registerModule('foo', fooStoreModule) return store.dispatch('foo/inc') } 会重复注册action,和mutation
asyncData ({ store }) { store.registerModule('foo', fooStoreModule) return store.dispatch('foo/inc') }
重要信息:当多次访问路由时,
asyncData ({ store }) { store.registerModule('foo', fooStoreModule) return store.dispatch('foo/inc') }
会重复注册action,和mutation