fix: error in renderless rendering (#381)

This commit is contained in:
mekhami
2018-09-07 14:02:20 -05:00
committed by Guillaume Chau
parent 8e369c71b1
commit 799ac2b316
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -81,6 +81,6 @@ export default {
} else {
result = [result].concat(this.$slots.default)
}
return this.tag ? h(this.tag, result) : result
return this.tag ? h(this.tag, result) : result[0]
},
}
+1 -1
View File
@@ -192,6 +192,6 @@ export default {
} else {
result = [result].concat(this.$slots.default)
}
return this.tag ? h(this.tag, result) : result
return this.tag ? h(this.tag, result) : result[0]
},
}