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
1.10.5
https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-ztrvkp
组件分页配置defaultPageSize: 10, 页面渲染后,展示全量数据,切换到第2页后,再返回第1页,数据展示正常。同时配置defaultCurrent: 1, defaultPageSize: 10可正常渲染
默认第1页展示数据正常
第一页展示全量数据
No response
接口获取数据,前端分页展示
The text was updated successfully, but these errors were encountered:
👋 @Ryan-Shang,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
看逻辑非受控用法是要传defaultCurrent的
defaultCurrent
这样的话,麻烦在文档上标注下吧,文档上defaultCurrent不是必传项 https://tdesign.tencent.com/react/components/pagination?tab=api
No branches or pull requests
tdesign-react 版本
1.10.5
重现链接
https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-ztrvkp
重现步骤
组件分页配置defaultPageSize: 10, 页面渲染后,展示全量数据,切换到第2页后,再返回第1页,数据展示正常。同时配置defaultCurrent: 1, defaultPageSize: 10可正常渲染
期望结果
默认第1页展示数据正常
实际结果
第一页展示全量数据
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
接口获取数据,前端分页展示
The text was updated successfully, but these errors were encountered: