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

[Pagination] 页码由小到大时,会多触发CurrentChange请求 #3483

Closed
riluocanyang opened this issue Oct 16, 2023 · 2 comments
Closed
Labels
🐞 bug Something isn't working to be published to be published

Comments

@riluocanyang
Copy link

riluocanyang commented Oct 16, 2023

tdesign-vue-next 版本

1.6.1

重现链接

No response

重现步骤

Pagination如下:
image

比如当前 pageSize 为10, current 为6
image
切换pageSize为20, 此时发现接口调用了2次,onPageSizeChange 方法和 onCurrentChange 方法分别执行了一次,导致current不为1
image
image

期望结果

当页码由小到大切换时,希望页码重置为1,不重新请求 onCurrentChange 方法

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @riluocanyang,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2023

♥️ 有劳 @kidjayhuang @youuss 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @riluocanyang

@riluocanyang riluocanyang changed the title [Pagination] 页码由大到小时,会多触发CurrentChange请求 [Pagination] 页码由小到大时,会多触发CurrentChange请求 Oct 16, 2023
@uyarn uyarn added the 🐞 bug Something isn't working label Oct 21, 2023
@uyarn uyarn added the to be published to be published label Oct 25, 2023
@github-actions github-actions bot mentioned this issue Oct 31, 2023
16 tasks
@uyarn uyarn closed this as completed Nov 1, 2023
@PengYYYYY PengYYYYY mentioned this issue Nov 1, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published to be published
Projects
None yet
Development

No branches or pull requests

2 participants