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

fix: 重置表单时移除URL中的参数 #2559

Merged
merged 1 commit into from
Feb 19, 2023
Merged

fix: 重置表单时移除URL中的参数 #2559

merged 1 commit into from
Feb 19, 2023

Conversation

Alkaidcc
Copy link
Contributor

按照条件筛选表格数据,点击重置后请求的接口会带上某个筛选数据的字段,如 xxx/info?page=1&pageSize=10&customParams=, 而不是xxx/info?page=1&pageSize=10
原因是当 reset form后,default value 是 empty string,导致带上了参数

@jinmao88 jinmao88 merged commit a1b9bbc into vbenjs:main Feb 19, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2024
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 this pull request may close these issues.

2 participants