alibaba / alibaba/lowcode-engine

自定义物料里面可以进行网络请求吗?

Open
#2,966 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

我在自定义物料的时候,想在自定义物料里面去获取一些数据,然后根据数据的值来展示当前的组件内容。
我看目前自定义物料本身也是直接实现一个react组件,应该是可以实现网络请求的?

但是我在定义x6的物料的时候发现,x6本身返回的不是一个组件,只是一个节点配置的属性,请问这个时候如何实现在物料里面去网络请求呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points; it concerns custom materials and X6 node configuration rather than a specific code location. Start by locating the custom-material and X6 integration documentation or implementation, then clarify the supported way to obtain data and render it, or document the limitation if this is not supported.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.