diff --git a/src/tab-bar-item/tab-bar-item.less b/src/tab-bar-item/tab-bar-item.less index 4a813b91f..423fe3bf8 100644 --- a/src/tab-bar-item/tab-bar-item.less +++ b/src/tab-bar-item/tab-bar-item.less @@ -30,10 +30,12 @@ font-size: 32rpx; } - &--split:before { - .hairline-left(@color: @tab-bar-border-color); - top: 16rpx; - bottom: 16rpx; + &--split { + & + &::before { + .hairline-left(@color: @tab-bar-border-color); + top: 16rpx; + bottom: 16rpx; + } } &--crowded {