0👍
Sounds like a “this scope” problem.
Try with
computed: mapState({
orderTitle (state) {
return state.order.bookTitle
}
}),
👤rick
- [Vuejs]-Child component using parent component data to re-direct
- [Vuejs]-Type check failed with :tbody-tr-class for BootstrapVue b-table
0👍
I figured it out. Instead of performing the actions in the mounted hook, I did it in the updated hook, which fires much later in the Vue instance lifecycle (after the Virtual DOM is re-rendered & patched).
Source:stackexchange.com