mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
fix(time): create text node in transparent mode
This commit is contained in:
parent
df091effb8
commit
cf0101fb06
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user