mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] directive naming-style in jsx (#2677)
This commit is contained in:
@@ -59,7 +59,7 @@ export default sfc({
|
||||
render(h) {
|
||||
const slots = this.$slots;
|
||||
return (
|
||||
<div v-show={this.selected || this.parent.animated} class={bem('pane')}>
|
||||
<div vShow={this.selected || this.parent.animated} class={bem('pane')}>
|
||||
{this.inited ? slots.default : h()}
|
||||
{slots.title && <div ref="title">{slots.title}</div>}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user