fix(Cell): arrow-direction assignment right is invalid (#11279)

This commit is contained in:
Tsdy 2022-11-21 10:22:20 +08:00 committed by chenjiahan
parent e609a3d954
commit 87ee32241a

View File

@ -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 <Icon name={name} class={bem('right-icon')} />;