[bugfix] Tab: incorrect height when use animated prop

This commit is contained in:
陈嘉涵
2019-05-11 11:39:31 +08:00
parent 36f2b956f1
commit 1158a31cb1
6 changed files with 52 additions and 44 deletions
+1 -1
View File
@@ -442,7 +442,7 @@ export default sfc({
{this.slots('nav-right')}
</div>
</div>
<div ref="content" class={bem('content', { animated })}>
<div ref="content" class={bem('content')}>
{animated ? (
<div class={bem('track')} style={this.trackStyle}>
{this.slots()}