Skip to content

Commit 076e3f1

Browse files
committed
pass on sync option in vm.$watch
1 parent e2c0cc7 commit 076e3f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/instance/api/data.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export default function (Vue) {
8080
}
8181
var watcher = new Watcher(vm, expOrFn, cb, {
8282
deep: options && options.deep,
83+
sync: options && options.sync,
8384
filters: parsed && parsed.filters
8485
})
8586
if (options && options.immediate) {

0 commit comments

Comments
 (0)