diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 9d23c7d9..4f31ecc2 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -14,7 +14,7 @@ - 确保 `table action` 的值被正确更新 - 修复页面切换的动画无法关闭 - 修复`PageWrapper`title 不显示 -- 修复表格数据为空时高度计算错误 +- 修复表格已知问题 ## 2.0.3 (2021-03-07) diff --git a/src/components/Table/src/style/index.less b/src/components/Table/src/style/index.less index 46480ffb..0b912093 100644 --- a/src/components/Table/src/style/index.less +++ b/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; diff --git a/src/views/demo/system/account/account.data.ts b/src/views/demo/system/account/account.data.ts index c540cccc..1a6d3841 100644 --- a/src/views/demo/system/account/account.data.ts +++ b/src/views/demo/system/account/account.data.ts @@ -16,7 +16,7 @@ export const columns: BasicColumn[] = [ { title: '邮箱', dataIndex: 'email', - width: 200, + width: 120, }, { title: '创建时间',