We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用search.transform进行查询操作能实现对查询参数key的转换,而使用重置按钮查询时却未能对key进行转换。
https://codesandbox.io/s/trusting-river-ipzco?file=/App.tsx
The text was updated successfully, but these errors were encountered:
reset 需要转化?
Sorry, something went wrong.
reset会自动调用request,如果search.transform是实现对查询参数key的转换,可能还是期望能够进行转换的。如果不支持,那此类场景是否提供了解决方案?
你的场景是 reset 的时候有默认值是吗? 那的确应该处理一下
感谢您的回复!查询参数具有默认值应该是很常见的场景,目前我的处理方案是在request的绑定函数中手动去判断处理。
Successfully merging a pull request may close this issue.
🧐 问题描述
使用search.transform进行查询操作能实现对查询参数key的转换,而使用重置按钮查询时却未能对key进行转换。
💻 示例代码
https://codesandbox.io/s/trusting-river-ipzco?file=/App.tsx
🚑 其他信息
The text was updated successfully, but these errors were encountered: