[BUG] Table 的 Columns 设置成 align: "right" 跟 sorter 排序一起使用时 表头显示跟align: "right" 不符 #1599
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
Which Component
Table
Semi Version
2.34.0
Current Behavior
{
title: "大小",
dataIndex: "size",
align: "right",
sorter: (a, b) => (a.size - b.size > 0 ? 1 : -1),
render: (text) =>
${text} KB
},
当我给 Columns加上 align: "right", 跟 sorter: (a, b) => (a.size - b.size > 0 ? 1 : -1) 一起使用时出现表头对齐出现问题 tr 是右对齐, th 还是左对齐
Expected Behavior
表头th 跟 tr 都应该是需要 按 Columns 的 align 方式来对齐
Steps To Reproduce
No response
ReproducibleCode
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: