ant-design / ant-design/pro-components

🐛[BUG]ProList, CardList模式时候,metas中的extra配置不生效

Open
#8,385 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

我希望在cardList模式时候,actions 和 extra 都有自己配置的内容,但是我发现extra的配置是无效的,虽然API文档有这条

![image](https://github.com/ant-design/pro-components/assets/59326851/87709be9-e4df-446e-b5af-e3eb1c481159)

API文档如下:
image

实际效果图:
image

这是不是个bug, 谢谢

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in ProList's cardList mode using metas.extra alongside actions, as shown in the report and API documentation screenshots. Trace why extra is not rendered, then verify that the configured extra content appears in cardList mode without breaking actions.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.