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 #8961

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

Comments

@candy-Tong
Copy link

candy-Tong commented Jan 8, 2025

🐛 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 没有被重置

🏞 期望结果

💻 复现代码

table 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

以下的 Issues 可能会帮助到你 / The following issues may help you

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