Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(DragSortTable): demo 拖动排序后报错 #8158

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

wenyuanw
Copy link
Contributor

@wenyuanw wenyuanw commented Feb 5, 2024

  1. demo 中 onDragSortEnd 方法 newDataSource 取值有误,导致拖动后会报错,官网可复现。
    image
  2. demo 中的测试数据已经又 key 字段作为表格 rowKey 的传参,因此删除了多余的 index 字段。
  3. demo 中的搜索表单没有效果,因此修改 search 进行隐藏。

Copy link

github-actions bot commented Feb 5, 2024

⚡️ Deploying PR Preview...

@chenshuai2144 chenshuai2144 merged commit 3920e86 into ant-design:master Feb 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants