Browse Source

fix two way binding with paths (fix #972)

Evan You 11 years ago
parent
commit
60fd14e6d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/directives/prop.js

+ 1 - 1
src/directives/prop.js

@@ -67,7 +67,7 @@ module.exports = {
           child,
           childKey,
           withLock(function (val) {
-            parent[parentKey] = val
+            parent.$set(parentKey, val)
           })
         )
       })