Browse Source

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

pull/355/head
Vben 6 years ago
parent
commit
a759e44c6e
  1. 2
      CHANGELOG.zh_CN.md
  2. 12
      src/components/Table/src/style/index.less
  3. 2
      src/views/demo/system/account/account.data.ts

2
CHANGELOG.zh_CN.md

@ -14,7 +14,7 @@
- 确保 `table action` 的值被正确更新
- 修复页面切换的动画无法关闭
- 修复`PageWrapper`title 不显示
- 修复表格数据为空时高度计算错误
- 修复表格已知问题
## 2.0.3 (2021-03-07)

12
src/components/Table/src/style/index.less

@ -73,12 +73,12 @@
}
}
.ant-table-tbody > tr > td,
.ant-table-tbody > tr > th,
.ant-table-thead > tr > td,
.ant-table-thead > tr > th {
white-space: pre;
}
// .ant-table-tbody > tr > td,
// .ant-table-tbody > tr > th,
// .ant-table-thead > tr > td,
// .ant-table-thead > tr > th {
// white-space: pre;
// }
.ant-pagination {
margin: 10px 0 0 0;

2
src/views/demo/system/account/account.data.ts

@ -16,7 +16,7 @@ export const columns: BasicColumn[] = [
{
title: '邮箱',
dataIndex: 'email',
width: 200,
width: 120,
},
{
title: '创建时间',

Loading…
Cancel
Save