0👍
The issue here (most likely) is that the value of response.data
is an object or an array. You’ve initially defined opportunity as ''
which is not an observable object or array. You have 2 choices:
Redefine it as an empty object or array, depending on the response:
opportunity: [] // or {}
Otherwise, use Vue.set()
to apply reactivity when changing it:
(Vue.set(state, 'opportunity', value))
- [Vuejs]-Vuetify v-card overflows on IE11
- [Vuejs]-How to fix Laravel Blade, Vuejs and Handlebars.js delimiter (mustache) issue?
Source:stackexchange.com