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]: 子表列表搜索有时点击刷新按钮会把搜索表单中的过滤条件还原为上次的条件来发起列表请求 #7113

Open
yinlianghui opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yinlianghui
Copy link
Contributor

yinlianghui commented Jan 8, 2025

Description

要放开子表的enableHeaderToolbar属性才能看到搜索表单。
image

Steps To Reproduce 重现步骤

  1. 点击子表列表右上角搜索按钮展开顶部搜索表单
  2. 在表单中输入过滤条件
  3. 回车或点击表单中搜索按钮触发列表请求(这步不可以少,否则无法重现bug)
  4. 点击列表右上角刷新按钮触发请求,此时看到搜索表单正常,接口也正常
  5. 再次在表单中变更之前的同一字段的过滤条件
  6. 回车或点击表单中搜索按钮触发列表请求(这步也不可以少,否则无法重现bug)
  7. 再次点击列表右上角刷新按钮触发请求,此时看到搜索表单正常,但是接口使用的过滤条件不是搜索表单中最后一次变更的字段值,而是上次的字段值

更简单的重现规则,连续两次使用搜索表单过滤数据后,再点刷新按钮即可看到异常:

  1. 点击子表列表右上角搜索按钮展开顶部搜索表单
  2. 在表单中输入过滤条件
  3. 回车或点击表单中搜索按钮触发列表请求(这步不可以少,否则无法重现bug)
  4. 再次在表单中变更之前同一字段的值
  5. 回车或点击表单中搜索按钮触发列表请求(这步不可以少,否则无法重现bug)
  6. 点击列表右上角刷新按钮触发请求,此时看到搜索表单正常,但是接口使用的过滤条件不是搜索表单中最后一次变更的字段值,而是上次的字段值

Version 版本

2.7

@yinlianghui yinlianghui added bug Something isn't working needs triaging 需要分类 labels Jan 8, 2025
@yinlianghui yinlianghui self-assigned this Jan 8, 2025
@yinlianghui yinlianghui removed the needs triaging 需要分类 label Jan 8, 2025
@yinlianghui yinlianghui added this to the 2.7 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant