ant-design / ant-design/pro-components
🐛[BUG] ProList 组件使用actionRef 获取pageInfo 得到的total为0
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
ProList 组件使用actionRef 获取pageInfo 得到的total为0,proTable 中没有问题,正常返回total 但是prolist 返回的total为0;
### 📷 复现步骤
### 🏞 期望结果
按照实际的total返回pageInfo
### 💻 复现代码


### © 版本信息
- ProComponents 版本: 2.3.57
- umi 版本 4
- 浏览器环境 edge
- 开发环境 window11
### 🚑 其他信息
Contributor guide
Research direction
Start with the ProList actionRef and pageInfo behavior described in the issue, then compare it with the corresponding ProTable behavior, which reportedly returns total correctly. Reproduce the issue using ProComponents 2.3.57 and verify that ProList exposes the actual total through pageInfo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100