Skip to content

Commit

Permalink
Merge pull request #2726 from XiaoMi/hotfix/table/2714
Browse files Browse the repository at this point in the history
fix(table): 修复sticky模式下,无法设置空状态内容问题 (#2714)
  • Loading branch information
solarjoker authored Jan 26, 2024
2 parents 02f82e1 + 459c794 commit 0867e7a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-geese-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/hiui": patch
---

fix(table): 修复双表格结构下,无法设置空状态内容问题
5 changes: 5 additions & 0 deletions .changeset/mean-bikes-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/table": patch
---

fix: 修复双表格结构下,无法设置空状态内容问题
2 changes: 1 addition & 1 deletion packages/ui/table/src/TableBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const TableBody = forwardRef<HTMLDivElement | null, TableBodyProps>(
style={{ width: canScroll && scrollWidth !== undefined ? scrollWidth : '100%' }}
>
<ColGroupContent />
<TbodyContent />
<TbodyContent emptyContent={emptyContent} />
</table>
)

Expand Down

0 comments on commit 0867e7a

Please sign in to comment.