ant-design / ant-design/pro-components

🐛[BUG]EditableProTable作为ProFormItem时,通过form.setFieldValue来填充数据时,数据量增加如100行,浏览器有时候会停止响应

Open
#7,656 0 comments 2 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

### 🐛 bug 描述
EditableProTable作为ProFormItem时,通过form.setFieldValue来填充数据时,数据量增加如100行,浏览器有时候会停止响应

### 📷 复现步骤

### 🏞 期望结果
提升EditableProTable通过form.setFieldValue加载多行数据的性能

### 💻 复现代码

### © 版本信息

- ProComponents 版本:2.6.18
- umi 版本:umijs/max: 4.0.80
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with EditableProTable used as a ProFormItem and the form.setFieldValue path described in the report. Reproduce the case by loading about 100 rows, then investigate why the browser sometimes stops responding. Done means loading the rows through form.setFieldValue no longer causes the reported unresponsiveness.

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.