this.$store.state.count: {{ this.$store.state.count }}
-调用computed(halfCount): {{ halfCount }}
- -this.$store.getters.doubleCount: {{ this.$store.getters.doubleCount }}
-this.$store.getters.moreCount(10): {{ this.$store.getters.moreCount(10) }}
- -this.$store.commit('increment', {num: 7})}: - -
-this.$store.commit({type: "increment", num: 5})}: - -
- -this.$store.dispatch('inc_actions', {num: 7})}: - -
-this.$store.dispatch({type: 'inc_actions', num: 5})}: - -
+根store-this.$store.state.count: {{ this.$store.state.count }}
+moduleA-this.$store.state.module_a.state_a: {{ this.$store.state.module_a.state_a }}
+moduleA-this.$store.state.module_b.state_b: {{ this.$store.state.module_b.state_b }}
+ + + + + + + + + + + + + + + + + + + +