Commit c7c0a7e4c88a895000b1621981e4d4b2020c64b1

Authored by 无木
1 parent 05329ce9

fix(table): fix index column style

修复序号列的样式问题
src/components/Table/src/components/ExpandIcon.tsx
... ... @@ -3,7 +3,11 @@ import { BasicArrow } from '/@/components/Basic';
3 3 export default () => {
4 4 return (props: Recordable) => {
5 5 if (!props.expandable) {
6   - return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
  6 + if (props.expanded) {
  7 + return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
  8 + } else {
  9 + return <span />;
  10 + }
7 11 }
8 12 return (
9 13 <BasicArrow
... ...