Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

🐛[BUG]column.sorter #680

Open
3lang3 opened this issue Aug 5, 2020 · 3 comments · May be fixed by #681
Open

🐛[BUG]column.sorter #680

3lang3 opened this issue Aug 5, 2020 · 3 comments · May be fixed by #681

Comments

@3lang3
Copy link

3lang3 commented Aug 5, 2020

🐛 bug 描述 [详细地描述 bug,让大家都能理解]

column打开sorter后三种状态(分别为正序倒序默认)只有'ascend' | 'descend'会调用request,

📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]

codesandbox_link

🏞 期望结果 [描述你原本期望看到的结果]

应和antd table一样,sorter变动都会触发request

💻 复现代码 [提供可复现的代码,仓库,或线上示例]

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息 [如截图等其他信息可以贴在这里]

3lang3 added a commit to 3lang3/pro-table that referenced this issue Aug 5, 2020
column.sorter could be 'ascend' | 'descend'  | undefined;
eg: descend -> undefined, request should to invoke.
ant-design#680
@weiTimes
Copy link

weiTimes commented Aug 6, 2020

昨天做到排序也发现了这个问题,解决了吗

@3lang3
Copy link
Author

3lang3 commented Aug 6, 2020

昨天做到排序也发现了这个问题,解决了吗

提了pr 还没合
合完也要等npm publish
先用ant table解决吧

@weiTimes
Copy link

weiTimes commented Aug 6, 2020

那我等等吧,之前都是用这个的,反正是小问题不影响

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants