0👍
You are initializing your data item to the value from the store:
data () {
return {
progress: store.state.progress
}
}
Changes to the store will not propagate to your data item. You could eliminate the data item and just use store.state.progress
where you need it, or you could create an computed
that returns its value if you want a local single-name handle for it.
- [Vuejs]-Nested components in app.vue not pulling content through
- [Vuejs]-How to fix google map center location in vue js
Source:stackexchange.com