[Vuejs]-Vue.js – Unable to trigger DOM update

0👍

You can try the vue computed property or watcher. This will automatically detect the changed in your data and update the v-model data you have.

In this example a change in the returned value of message will automatically be applied to the input.

<input v-model="message">

computed: {
    message(){
        return {x:{y:[1,2,3]}}
    }
}

Leave a comment