Evan You 12 lat temu
rodzic
commit
bf0e852482
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/directives/partial.js

+ 2 - 0
src/directives/partial.js

@@ -19,6 +19,8 @@ module.exports = {
             return
             return
         }
         }
 
 
+        partial = partial.cloneNode(true)
+
         // comment ref node means inline partial
         // comment ref node means inline partial
         if (this.el.nodeType === 8) {
         if (this.el.nodeType === 8) {