fix: error in renderless rendering (#381)
This commit is contained in:
@@ -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]
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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]
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user