fix(time): create text node in transparent mode

This commit is contained in:
07akioni 2019-12-12 15:51:25 +08:00
parent df091effb8
commit cf0101fb06

View File

@ -65,6 +65,6 @@ export default {
}
},
render (h) {
return this.transparent ? this.renderedTime : h('time', this.renderedTime)
return this.transparent ? this._v(this.renderedTime) : h('time', this.renderedTime)
}
}