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

🐛[BUG] reset 没有重置 table UI 上的 sorter 和 filter #8960

Closed
candy-Tong opened this issue Jan 8, 2025 · 1 comment
Closed

🐛[BUG] reset 没有重置 table UI 上的 sorter 和 filter #8960

candy-Tong opened this issue Jan 8, 2025 · 1 comment

Comments

@candy-Tong
Copy link

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

actionRef.current?.reset();
可以重置 table 的 sorter 和 filter 状态,但 UI 没有被重置,这个是 Bug 吗?

📷 复现步骤

🏞 期望结果

https://codesandbox.io/p/sandbox/cha-xun-biao-ge-forked-xvg9vx?file=%2FApp.tsx%3A4%2C24

  1. 先在 table 上操作filter 和 sorter
  2. 然后点击 reload
  3. table UI 的 filter 和 sorter 没有被重置

💻 复现代码

3table UI 的 filter 和 sorter 被重置

https://codesandbox.io/p/sandbox/cha-xun-biao-ge-forked-xvg9vx?file=%2FApp.tsx%3A4%2C24

© 版本信息

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

🚑 其他信息

Copy link

github-actions bot commented Jan 8, 2025

当前 Issue 未检测到标题,请规范填写,谢谢!

The title of the current issue is not detected, please fill in according to the specifications, thank you!

@github-actions github-actions bot closed this as completed Jan 8, 2025
@candy-Tong candy-Tong changed the title 🐛[BUG] 🐛[BUG] reset 没有重置 table UI 上的 sorter 和 filter Jan 8, 2025
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

No branches or pull requests

1 participant