Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vuex): make sure flushStoreModules return array #954

Merged
merged 1 commit into from
Apr 5, 2019

Conversation

Yuyz0112
Copy link
Contributor

@Yuyz0112 Yuyz0112 commented Apr 5, 2019

When the vuex store does not have registerModule, flushStoreModules will return undefined and make the following calls on hook.storeModules failed.

This happened in my early version of vuex apps.

@Akryum Akryum merged commit b3207e7 into vuejs:dev Apr 5, 2019
simsim0709 pushed a commit to simsim0709/vue-devtools that referenced this pull request May 7, 2019
When the vuex store does not have `registerModule`, `flushStoreModules` will return `undefined` and make the following calls on hook.storeModules failed.

This happened in my early version of vuex apps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants