From 87ee32241a531a5687ad30370dc275d19a1f0197 Mon Sep 17 00:00:00 2001 From: Tsdy <49274160+Tzdy@users.noreply.github.com> Date: Mon, 21 Nov 2022 10:22:20 +0800 Subject: [PATCH] fix(Cell): arrow-direction assignment right is invalid (#11279) --- packages/vant/src/cell/Cell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/src/cell/Cell.tsx b/packages/vant/src/cell/Cell.tsx index e3a3b3d4d..1b813c5d7 100644 --- a/packages/vant/src/cell/Cell.tsx +++ b/packages/vant/src/cell/Cell.tsx @@ -125,7 +125,7 @@ export default defineComponent({ } if (props.isLink) { - const name = props.arrowDirection + const name = props.arrowDirection && props.arrowDirection !== 'right' ? `arrow-${props.arrowDirection}` : 'arrow'; return ;