2
0
Эх сурвалжийг харах

fix v-repeat when value is falsy

Evan You 11 жил өмнө
parent
commit
72be71087a

+ 1 - 1
src/directives/repeat.js

@@ -117,7 +117,7 @@ module.exports = {
       )
       return
     }
-    this.converted = data._converted
+    this.converted = data && data._converted
     this.vms = this.diff(data || [], this.vms)
     // update v-ref
     if (this.childId) {