根-this.$store.state.count: {{ this.$store.state.count }}
-A-this.$store.state.module_a.state_a: {{ this.$store.state.module_a.state_a }}
-B-this.$store.state.module_b.state_b: {{ this.$store.state.module_b.state_b }}
+根-count: {{ count }}
+A-state_a: {{ state_a }}
+B-state_b: {{ state_b }}
根this.$store.getters.getter(3): {{ this.$store.getters.getter(3) }}
-A-this.$store.getters.getter_a: {{ this.$store.getters.getter_a }}
-B-this.$store.getters['module_b/getter_b']: {{ - this.$store.getters['module_b/getter_b'] - }}
+根-getter(3): {{ getter(3) }}
+A-getter_a: {{ getter_a }}
+B-getter_b: {{ getter_b }}
根-this.$store.dispatch('action', {num: 7}): +
根-mutation:
A-this.$store.dispatch('action_a', {num: 8}): - +
B-this.$store.dispatch('module_b/action_b', {num: 9}): @@ -39,10 +37,31 @@