From c7c0a7e4c88a895000b1621981e4d4b2020c64b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Fri, 9 Jul 2021 13:37:13 +0800 Subject: [PATCH] fix(table): fix index column style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复序号列的样式问题 --- src/components/Table/src/components/ExpandIcon.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Table/src/components/ExpandIcon.tsx b/src/components/Table/src/components/ExpandIcon.tsx index 26dccc5cd46..2b31ee50d5a 100644 --- a/src/components/Table/src/components/ExpandIcon.tsx +++ b/src/components/Table/src/components/ExpandIcon.tsx @@ -3,7 +3,11 @@ import { BasicArrow } from '/@/components/Basic'; export default () => { return (props: Recordable) => { if (!props.expandable) { - return ; + if (props.expanded) { + return ; + } else { + return ; + } } return (