ant-design/components/table/hooks
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
..
useFilter Revert "bug: fix-table-bug ref filters" (#49600) 2024-06-26 12:40:24 +08:00
useContainerWidth.ts fix: Table virtual with narrow columns (#44818) 2023-09-13 17:53:54 +08:00
useLazyKVMap.ts refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
usePagination.ts feat: tsconfig enable strict (#47998) 2024-04-01 15:49:45 +08:00
useSelection.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
useSorter.tsx fix(table):sorter value exception (#49533) 2024-07-18 21:38:17 +08:00
useTitleColumns.ts docs: format code (#48309) 2024-04-08 14:04:08 +08:00