ant-design / ant-design/pro-components
🐛[BUG]Prolist 中 同时设置 grid 和 rowSelection ,为什么不显示多选框
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
Prolist 中 同时设置 grid 和 rowSelection ,并不会出现多选框,有没有什么办法能够让其显示这个多选框?
📷 复现步骤
🏞 期望结果
在卡片模式下,也能显示多选框
💻 复现代码
grid={
showType === 'block'
? {
gutter: 4,
column: { xs: 4, sm: 8, md: 10, lg: 12 } as unknown as number,
}
: undefined
}
© 版本信息
ProComponents 版本: [e.g. 4.0.0]
umi 版本
浏览器环境
开发环境 [e.g. Windows]
🚑 其他信息


Contributor guide
Research direction
Review the ProList implementation for the interaction between grid and rowSelection, using the provided grid snippet as the starting reproduction. Confirm whether card mode should render selection controls; done requires a documented or tested resolution, with the missing version and environment details filled in.
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
- 25/100