Answer the question
In order to leave comments, you need to log in
How to create one watcher to track multiple data?
Hello.
There is such a code
watch: {
processes: {
handler() {
this.init();
this.$refs.editor.reInit();
},
deep: true,
},
conditionsIds: {
handler() {
this.init();
this.$refs.editor.reInit();
},
deep: true,
},
activeDialog: {
handler() {
this.init();
this.$refs.editor.reInit();
},
deep: true,
},
variables: {
handler() {
this.init();
this.$refs.editor.reInit();
},
deep: true,
},
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question