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
在curd中的footerToolbar中使用pagination组件,无法使用pager、perPage进行默认。 代码如下:
"footerToolbar": [ { "type": "pagination", "layout": "total,perPage,pager,go", "mode": "normal", "size": "md", "activePage": 2, "ellipsisPageGap": 5, "lastPage": 99999, "total": 999, "perPage": 20, "maxButtons": 6, "showPerPage": true, "perPageAvailable": [ 10, 20, 50, 100, 200 ], "showPageInput": true, "disabled": false } ] 他依然选择的是每个显示10条记录。并且默认在第1页,截图如下:
The text was updated successfully, but these errors were encountered:
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
Sorry, something went wrong.
应该是直接设置到crud组件里面的 而且是用 page perPage
其实也可以直接通过url来定位页数和条数 自动识别的 参考示例 https://aisuda.bce.baidu.com/amis/examples/crud/table?orderBy=id&orderDir=asc&page=2&perPage=18
page=2&perPage=18
Amis低代码前端框架交流群【QQ1群】:717791727 Amis低代码前端框架交流群【QQ2群】:721182449
主要是想在json文件中配置默认值,这个虽然可以实现但是对用户的体验感觉没那么友好
No branches or pull requests
描述问题:
在curd中的footerToolbar中使用pagination组件,无法使用pager、perPage进行默认。
代码如下:
"footerToolbar": [
{
"type": "pagination",
"layout": "total,perPage,pager,go",
"mode": "normal",
"size": "md",
"activePage": 2,
"ellipsisPageGap": 5,
"lastPage": 99999,
"total": 999,
"perPage": 20,
"maxButtons": 6,
"showPerPage": true,
"perPageAvailable": [
10,
20,
50,
100,
200
],
"showPageInput": true,
"disabled": false
}
]
他依然选择的是每个显示10条记录。并且默认在第1页,截图如下:
The text was updated successfully, but these errors were encountered: