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

👑 [需求] ProTable搜索表单添加 search params 持久化 #9003

Closed
TinsFox opened this issue Feb 8, 2025 · 2 comments
Closed

👑 [需求] ProTable搜索表单添加 search params 持久化 #9003

TinsFox opened this issue Feb 8, 2025 · 2 comments

Comments

@TinsFox
Copy link

TinsFox commented Feb 8, 2025

提问前先看看:

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

🔩 所属模块或组件

ProTable

🥰 需求描述

ProTable 中的 搜索表单 可以对表格数据进行筛选,但是刷新之后筛选项就丢失了。是否可以考虑增加 search params 持久化的功能,这样刷新页面就不会丢失筛选项。这样可以增强 web standard 体验

⛰ 功能需求适用场景

  1. 分享系统 URL 的时候分享什么对方就可以获得同样的筛选条件

🧐 解决方案

类似这个库实现的效果:https://nuqs.47ng.com/

🚑 其他信息

Image
@condorheroblog
Copy link

有没有试过 syncToUrl?

Image

@TinsFox
Copy link
Author

TinsFox commented Feb 8, 2025

有没有试过 syncToUrl?

Image

thx 正在尝试

@TinsFox TinsFox closed this as completed Feb 13, 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

2 participants