Prechádzať zdrojové kódy

fix event propagation in inline-statement

rhyzx 10 rokov pred
rodič
commit
130b747194
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/instance/api/data.js

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

@@ -24,8 +24,9 @@ export default function (Vue) {
         var self = this
         return function statementHandler () {
           self.$arguments = toArray(arguments)
-          res.get.call(self, self)
+          var result = res.get.call(self, self)
           self.$arguments = null
+          return result
         }
       } else {
         try {