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组件 选择每页数据大于总条数时 整个分页组件都消失了 #11368

Open
hury88 opened this issue Dec 13, 2024 · 0 comments

Comments

@hury88
Copy link

hury88 commented Dec 13, 2024

描述问题:

截图或视频:

如何复现(请务必完整填写下面内容):

npm 版本6.8.0

  1. 粘贴有问题的完整 amis schema 代码:
这是schema
{
                        "type": "pagination",
                        "id": "pagination",
                        "align": "right",
                        "showPerPage": true,
                        "layout": "total,perPage,pager",
                        "alwaysShowPagination": true,
                        "perPageAvailable": [
                            "10",
                            "20",
                            "100",
                            "500",
                            "1000",
                            "2000"
                        ]
                    }

这是接口返回的
{
    "data": {
        "HfMiscLaborCategory__findPage": {
            "total": 14,
            "page": 1
        }
    }
}
  1. 操作步骤
    这是切换前
    image

一共14条数据选择一页20条后整个分页组件消失
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant