ant-design / ant-design/pro-components

🐛[BUG] EditableProTable type=multiple多行编辑时取消编辑会丢数据

Open
#9,092 3 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

### 🐛 bug 描述
EditableProTable组件在type=multiple多行编辑时取消编辑会丢数据

### 📷 复现步骤
同时编辑两行后,先后点击取消
如图:

![Image](https://github.com/user-attachments/assets/bc4b3d20-2dbf-4baf-918c-bd1e4887c4ad)

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本: 2.6.43
- umi 版本 4.1.0
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the EditableProTable component and reproduce the issue using editable type='multiple' in ProComponents 2.6.43: edit two rows, then cancel them one after another. Trace the multiple-row cancel flow and verify that canceling either row no longer loses the other row's data.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.