alibaba / alibaba/lowcode-engine

【编辑模式】下期望支持mock Url中的参数或者mock传给页面(props)的参数

Open
#2,514 0 comments 0 reactions 1 assignee Claimed by @liujuping View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

1. **问题**:当前引擎不支持给页面传入props,但是出码的页面是支持读取传入给页面props的,如下图所示:
![image](https://github.com/alibaba/lowcode-engine/assets/44644033/3cfe7c8a-ba86-44e6-9577-c970c3f6259c)
**期望**: 在编辑状态支持mock和约束传入页面的props的参数,在编辑状态可以通过this.props.xxx访问mock的参数,这样出码之后的代码块就可以通过传参当成组件重复使用
2. **问题**:当前引擎不支持mock页面url中的参数,在编辑态,有些接口的参数依赖于url中的参数
**期望**:在编辑态能有mock url参数的能力,而不是附加在当前url中,和当前编辑器url的参数混淆

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.