Explorar el Código

pass on sync option in vm.$watch

Evan You hace 10 años
padre
commit
076e3f1799
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/instance/api/data.js

+ 1 - 0
src/instance/api/data.js

@@ -80,6 +80,7 @@ export default function (Vue) {
     }
     var watcher = new Watcher(vm, expOrFn, cb, {
       deep: options && options.deep,
+      sync: options && options.sync,
       filters: parsed && parsed.filters
     })
     if (options && options.immediate) {