ant-design/components/table/__tests__
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
..
__snapshots__ demo: update Table demo (#49756) 2024-07-07 17:42:52 +08:00
demo-extend.test.ts feat: Table support virtual (#44349) 2023-08-28 17:36:23 +08:00
demo.test.ts feat: Table support virtual (#44349) 2023-08-28 17:36:23 +08:00
empty.test.tsx fix: The emptyText field of the table (#49599) 2024-06-26 14:19:22 +08:00
image.test.ts feat: Table support virtual (#44349) 2023-08-28 17:36:23 +08:00
Sorter.value.test.tsx fix(table):sorter value exception (#49533) 2024-07-18 21:38:17 +08:00
Table.expand.test.tsx chore: bump rc-table to v7.45.0 (#48190) 2024-03-31 16:04:36 +08:00
Table.filter.test.tsx Revert "bug: fix-table-bug ref filters" (#49600) 2024-06-26 12:40:24 +08:00
Table.IE.test.tsx feat: Table support scrollTo reference (#45245) 2023-10-11 13:55:20 +08:00
Table.order.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
Table.pagination.test.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
Table.rowSelection.test.tsx feat: tsconfig enable strict (#47998) 2024-04-01 15:49:45 +08:00
Table.sorter.test.tsx feat: tsconfig enable strict (#47998) 2024-04-01 15:49:45 +08:00
Table.test.tsx chore: bump rc-table to v7.45.0 (#48190) 2024-03-31 16:04:36 +08:00
Table.virtual.test.tsx fix: virtual list prefixCls not working (#47639) 2024-02-29 09:45:27 +08:00
type.test.tsx feat: tsconfig enable strict (#47998) 2024-04-01 15:49:45 +08:00