Repository navigation
fix(transfer): clamp page after filtering - #7055
Merged
liweijie0812 merged 2 commits intoNov 12, 2026
Merged
Conversation
yunfeizhu
requested review from
Cat1007,
PengYYYYY,
Wesley-0808,
chaishi,
liweijie0812,
uyarn,
zhangpaopao0609 and
zydemail
as code owners
November 11, 2026 08:27
Collaborator
TDesign Component Site Preview Open
|
commit: |
uyarn
approved these changes
Nov 12, 2026
uyarn
approved these changes
Nov 12, 2026
liweijie0812
approved these changes
Nov 12, 2026
5 of 16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
Fixes #7054
💡 需求背景和解决方案
在 Transfer 的第 2 页搜索时,如果匹配项只够一页,列表仍按第 2 页切片,导致有匹配项也显示“暂无数据”。
用筛选结果的条数计算最后一页。列表切片和分页器共用校正后的页码。内部维护的页码会随结果范围收缩,外部传入的页码在筛选条件清除、重新有效时继续生效。
新增回归测试覆盖源列表的内部翻页与目标列表的受控页码,并检查搜索不会额外触发翻页回调。Transfer 和 Pagination 共 201 项测试通过。Chrome 在 1280px 和 390px 下均验证了翻页后搜索的结果。
最小复现 HTML
📝 更新日志
tdesign-vue-next
☑️ 请求合并前的自查清单