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