I have a component with these options:
{
data() {
return {
...
controls: {
...
showProduct: {
11: true,
13: true,
15: false
}
}
}
},
watch: {
...
'controls.showProduct': {
handler(newValue, oldValue) { // some function },
deep: true
}
}
}
Whenever I change the value of any product (i.e. controls.showProduct[ x ]) the watcher fires, but newValue and oldValue are always the same with controls.showProduct[ x ] set to the new value.
bobmoff, cyberz, gedwu, amrocs, btoo and 36 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4