In my Vue component, I have an img
tag with a bound src
attribute that references Vuex state.
<img :src="this.$store.state.imageDataURI">
I am able to successfully update the state object in Vuex as shown below.
However, the img
tag is not being rendered properly as shown below.
To solve this issue, I could utilize getters. I suspect that this problem may be related to Vue's reactivity model.
Any insights or suggestions?