Ver código fonte

fix unit test

Evan You 10 anos atrás
pai
commit
97bec714ec
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      src/directives/repeat.js

+ 3 - 1
src/directives/repeat.js

@@ -393,7 +393,9 @@ module.exports = {
       // identifier, shows that this vm belongs to this collection
       _repeatId: this.id,
       // transclusion content owner
-      _context: this.vm
+      _context: this.vm,
+      // cotnext fragment
+      _frag: this._frag
     }, Component)
     // cache instance
     if (needCache) {