From 1e61da644f65a79ce10fde98ee017aba7d36be10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Wed, 7 Jul 2021 22:38:00 +0800 Subject: [PATCH] fix(table): fix tree node align MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复树形表格的带有展开图标的单元格的内容对齐问题 fixed: #829 --- CHANGELOG.zh_CN.md | 4 +++- src/components/Table/src/components/ExpandIcon.tsx | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 9b548a9c..0a249fcf 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -1,6 +1,8 @@ ### 🐛 Bug Fixes -- **Table** 修复滚动条样式问题 +- **Table** + - 修复滚动条样式问题 + - 修复树形表格的带有展开图标的单元格的内容对齐问题 - **AppSearch** 修复可能会搜索隐藏菜单的问题 - **其它** 修复菜单默认折叠的配置不起作用的问题 diff --git a/src/components/Table/src/components/ExpandIcon.tsx b/src/components/Table/src/components/ExpandIcon.tsx index c75a5c6e..26dccc5c 100644 --- a/src/components/Table/src/components/ExpandIcon.tsx +++ b/src/components/Table/src/components/ExpandIcon.tsx @@ -3,11 +3,11 @@ import { BasicArrow } from '/@/components/Basic'; export default () => { return (props: Recordable) => { if (!props.expandable) { - return ; + return ; } return ( { props.onExpand(props.record, e); -- GitLab