[Vuejs]-Vue watch for two variable mutually linked on change leads to infinite loop

0👍

Did you try to watch whole object xport like:

watch: {
  xport: {
    handler(val, oldVal){
    // do stuff
    },
    deep: true
  }
}

Leave a comment