From d4cf2154fe0a0f99d0968928f6b8e3d15f4950df Mon Sep 17 00:00:00 2001 From: landluck Date: Fri, 30 Dec 2022 18:03:22 +0800 Subject: [PATCH] fix(steps): fixed extra spacing in the vertical direction (#5166) --- packages/steps/index.wxml | 4 ++-- .../test/__snapshots__/demo.spec.ts.snap | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/steps/index.wxml b/packages/steps/index.wxml index 6180b417..00c8e107 100644 --- a/packages/steps/index.wxml +++ b/packages/steps/index.wxml @@ -20,7 +20,7 @@ wx:if="{{ item.inactiveIcon || inactiveIcon }}" color="{{ status(index, active) === 'inactive' ? inactiveColor: activeColor }}" name="{{ item.inactiveIcon || inactiveIcon }}" - custom-class="van-step__icon" + class="van-step__icon" /> - +