ant-design/components/table
zyf ebc3a999bd
fix(table):sorter value exception (#49533)
* fix(module:table):列属性为动态时,onchange函数sorter值异常问题

* 测试用例补充

* Update components/table/hooks/useSorter.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* Update Sorter.value.test.tsx

去除当前测试用例中的window.requestAnimationFrame和window.cancelAnimationFrame

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* 格式调整

* 格式调整

* 格式调整

* button增加type适配lint规范

* 重新调整过滤条件,修复sorter值异常问题

* 去除无用参数

* 格式修改

* Update components/table/__tests__/Sorter.value.test.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* 去除无用注释,代码优化

* 去除无用注释,代码优化

---------

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-18 21:38:17 +08:00
..
__tests__ fix(table):sorter value exception (#49533) 2024-07-18 21:38:17 +08:00
demo type(demo): improve type by GetProps util (#49805) 2024-07-10 18:28:11 +08:00
hooks fix(table):sorter value exception (#49533) 2024-07-18 21:38:17 +08:00
RcTable docs: format code (#48309) 2024-04-08 14:04:08 +08:00
style Revert "type(token): height / width support string | number" (#49836) 2024-07-12 10:12:56 +08:00
Column.ts Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
ColumnGroup.ts docs: format code (#48309) 2024-04-08 14:04:08 +08:00
ExpandIcon.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
index.en-US.md demo(table): use TableColumnsType instead of ColumnsType] (#49787) 2024-07-09 17:35:10 +08:00
index.ts docs: format code (#48309) 2024-04-08 14:04:08 +08:00
index.zh-CN.md demo(table): use TableColumnsType instead of ColumnsType] (#49787) 2024-07-09 17:35:10 +08:00
interface.ts chore: bump rc-table to v7.45.0 (#48190) 2024-03-31 16:04:36 +08:00
InternalTable.tsx fix: The emptyText field of the table (#49599) 2024-06-26 14:19:22 +08:00
Table.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
util.ts