baidu / baidu/amis

page组件initApi还没请求,list组件的source先请求了,但list组建需要page初始请求的参数,导致请求没参数

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

#### 描述问题:

page组件initApi还没请求,list组件的source先请求了,但list组建需要page初始请求的参数,导致请求没参数,有没有办法可以先请求initApi

另外在form组建没有出现这种请求

#### 截图或视频:
![CCB3A202EBE424FF0EB44BBF1E468096](https://github.com/baidu/amis/assets/32946251/683c553f-8d28-4673-951d-01db4a550d79)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the page and list component interaction described in the issue, then trace when page initApi and the list source request are triggered. Verify that the list receives the parameters from the page's initial request before it sends its own request, while preserving the form component behavior. Done means the list request no longer lacks those parameters.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.