ant-design / ant-design/pro-components

🧐[问题] EditableProTable 对操作行会对数据生成 index 为 key的脏key

Open
#8,416 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

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述
如官方示例所示,多出了一个index,这算是特性?还是算脏数据,如果我需要做form前后值比对,这个index对于我来说是没用的脏数据。。它只要操作过就给最终值加上index的key感觉也不是很合理?

### 💻 示例代码

### 🚑 其他信息

![image](https://github.com/ant-design/pro-components/assets/73346429/bac6d4b7-50a0-4a18-8b17-74b98d4f8f91)

Contributor guide

Open the contributing guide

Research direction

Start with the official EditableProTable example referenced in the report and compare form values before and after editing a row. Confirm when the index key is introduced and whether it is intended; done means the expected behavior and a verified resolution for the extra key are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.