fix: tabs tabBarGutter no work, close #205

This commit is contained in:
tangjinzhou 2018-09-28 21:43:21 +08:00
parent 6c3e3d3c3d
commit f597b7ece3

View File

@ -56,7 +56,7 @@ export default {
{...events}
class={cls}
key={key}
style={{ marginRight: tabBarGutter && index === children.length - 1 ? 0 : tabBarGutter }}
style={{ marginRight: tabBarGutter && index === children.length - 1 ? 0 : `${tabBarGutter}px` }}
{...{ directives: directives }}
>
{tab}