We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8870d64 + e2ff220 commit 9de3fa4Copy full SHA for 9de3fa4
src/v2/api/index.md
@@ -597,7 +597,8 @@ type: api
597
data: {
598
a: 1,
599
b: 2,
600
- c: 3
+ c: 3,
601
+ d: 4
602
},
603
watch: {
604
a: function (val, oldVal) {
@@ -609,6 +610,11 @@ type: api
609
610
c: {
611
handler: function (val, oldVal) { /* ... */ },
612
deep: true
613
+ },
614
+ // коллбэк будет вызван сразу же после начала наблюдения
615
+ d: {
616
+ handler: function (val, oldVal) { /* ... */ },
617
+ immediate: true
618
}
619
620
})
0 commit comments