Answer the question
In order to leave comments, you need to log in
How to find out which key has changed?
inputsRange: {
noseWidth: 0,
noseHeight: 0,
noseTipLong: 0,
noseTipHeight: 0,
noseBrake: 0,
browsHeight: 0,
browsDept: 0,
checkboonesHeight: 0,
nose: 0,
},
watch: {
inputsRange:{
deep: true,
handler(oldValue, newValue) {
for (variable in this.inputsRange) { // узнаем названия всех ключей в inputsRange
}
}
}
}
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