Commit a759e44c6e5c223d2fef52c5a9698e571eed2d52

Authored by Vben
1 parent 6095cb54

fix(table): fix TableAction row height error close #350

CHANGELOG.zh_CN.md
... ... @@ -14,7 +14,7 @@
14 14 - 确保 `table action` 的值被正确更新
15 15 - 修复页面切换的动画无法关闭
16 16 - 修复`PageWrapper`title 不显示
17   -- 修复表格数据为空时高度计算错误
  17 +- 修复表格已知问题
18 18  
19 19 ## 2.0.3 (2021-03-07)
20 20  
... ...
src/components/Table/src/style/index.less
... ... @@ -73,12 +73,12 @@
73 73 }
74 74 }
75 75  
76   - .ant-table-tbody > tr > td,
77   - .ant-table-tbody > tr > th,
78   - .ant-table-thead > tr > td,
79   - .ant-table-thead > tr > th {
80   - white-space: pre;
81   - }
  76 + // .ant-table-tbody > tr > td,
  77 + // .ant-table-tbody > tr > th,
  78 + // .ant-table-thead > tr > td,
  79 + // .ant-table-thead > tr > th {
  80 + // white-space: pre;
  81 + // }
82 82  
83 83 .ant-pagination {
84 84 margin: 10px 0 0 0;
... ...
src/views/demo/system/account/account.data.ts
... ... @@ -16,7 +16,7 @@ export const columns: BasicColumn[] = [
16 16 {
17 17 title: '邮箱',
18 18 dataIndex: 'email',
19   - width: 200,
  19 + width: 120,
20 20 },
21 21 {
22 22 title: '创建时间',
... ...