From e18a3d49ce071016ed82b77bbe7ba2a2d55045ff 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 df06603e3..3f3dd3636 100644 --- a/packages/vant/src/cell/Cell.tsx +++ b/packages/vant/src/cell/Cell.tsx @@ -124,7 +124,7 @@ export default defineComponent({ } if (props.isLink) { - const name = props.arrowDirection + const name = props.arrowDirection && props.arrowDirection !== 'right' ? `arrow-${props.arrowDirection}` : 'arrow'; return ;