baidu / baidu/amis

【bug】嵌套表格重复请求

Open
#3,105 0 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

在表格中弹出窗口,再次弹窗口,表格多次请求初始化接口200+次

页面json如下:
[page.txt](https://github.com/baidu/amis/files/7630122/page.txt)

页面截图1:
![1](https://user-images.githubusercontent.com/88315383/144158553-22cc7078-d263-47b3-a8ac-2635e360295c.png)

点击弹出窗口1:
![2](https://user-images.githubusercontent.com/88315383/144158600-76be6352-73d3-49f4-a5ed-54e89d600b83.png)

再次点击按钮弹出窗口2:
![3](https://user-images.githubusercontent.com/88315383/144158647-fa0fd320-b756-40fe-a081-9b5353f80b8d.png)

多次请求初始化接口:
![4](https://user-images.githubusercontent.com/88315383/144158695-501ea670-d4e2-4d24-8f46-edf4eebfa8bb.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the nested-table flow described in the issue: open a popup, open it again, and monitor the initialization requests using the attached page.txt configuration. Compare the request count after each popup action; done means reopening the popup no longer causes the initialization endpoint to be requested 200+ times.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.