ant-design / ant-design/pro-components
👑 [需求] ProTable 使用 tableAlertOptionRender tableAlertRender 期望把原始dom给返回回来
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🔩 所属模块或组件
所属组件:ProTable
### 🥰 需求描述
ProTable 使用 tableAlertOptionRender tableAlertRender 会把原始渲染的dom给覆盖掉。希望原始dom 通过一个参数返回回来,最好是一个数组,我们可以自行处理后再返回回去。选中项或取消选择,这个也很有用的,我要增加功能就会导致这个默认的消失掉。然后自己要做回这个功能就又要新增好些代码。
Contributor guide
Research direction
Start by reading the ProTable implementation and the entry points for tableAlertOptionRender and tableAlertRender. Compare the current default selected-item and selection-toggle rendering with custom render behavior; done means the original rendered elements can be received, customized, and returned without losing the defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100