Showing
1 changed file
with
0 additions
and
5 deletions
| ... | @@ -22,11 +22,6 @@ Vue.component('counter',Counter) | ... | @@ -22,11 +22,6 @@ Vue.component('counter',Counter) |
| 22 | const app = new Vue({ | 22 | const app = new Vue({ |
| 23 | el: '#app', | 23 | el: '#app', |
| 24 | store, | 24 | store, |
| 25 | - computed: { | ||
| 26 | - count() { | ||
| 27 | - return store.state.count | ||
| 28 | - } | ||
| 29 | - }, | ||
| 30 | methods: { | 25 | methods: { |
| 31 | increment() { | 26 | increment() { |
| 32 | store.commit('increment') | 27 | store.commit('increment') | ... | ... |
-
Please register or login to post a comment