Service组件如何一次请求多个服务
Open
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 实现场景:
由于数据域与数据链的原因,组件寻找数据只能在自己的这一级或者父级里面找到才能渲染,但是我想在初始化的时候,一次性默认将数据请求到,然后page内的所有组件都能共享
#### 存在的问题:
service组件一次只能请求一个API
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the Service component's request behavior and how data scope is shared between a page and its child components. Determine how multiple APIs should be configured and how their results should be exposed to all page components. Done means the requested APIs can be fetched during initialization and their data can be shared within the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100