alibaba / alibaba/lowcode-engine
material.refreshComponentMetasMap API 无法触发刷新 simulator.renderer.components
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
1.1.7版本新增的 material.refreshComponentMetasMap API可以刷新AliLowCodeEngine.project.simulator.renderer.componentsMap,但没有触发刷新AliLowCodeEngine.project.simulator.renderer.components。模拟器没有刷新组件。
A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述
1.1.7版本新增的 material.refreshComponentMetasMap API可以刷新AliLowCodeEngine.project.simulator.renderer.componentsMap,但没有触发刷新AliLowCodeEngine.project.simulator.renderer.components。模拟器没有刷新组件。
---
## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**
在设计器初始化后更新Assets版本,通过material.setAssets 与 material.refreshComponentMetasMap API 更新组件,material.refreshComponentMetasMap API可以刷新AliLowCodeEngine.project.simulator.renderer.componentsMap,但没有触发刷新AliLowCodeEngine.project.simulator.renderer.components。
Steps to reproduce the behavior: / 详细复现步骤:
## **Expected behavior (required)** / **预期行为(必填,非常重要)**
在设计器初始化后更新Assets版本,通过material.setAssets 与 material.refreshComponentMetasMap API 更新组件,material.refreshComponentMetasMap API可以刷新AliLowCodeEngine.project.simulator.renderer.componentsMap,但没有触发刷新AliLowCodeEngine.project.simulator.renderer.components。
## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- AliLowCodeEngine version/ 低代码引擎版本:lowcode-engine@1.1.7-beta.8
- AliLowCodeEngineExt version: / 低代码引擎扩展包版本:lowcode-engine-ext@1.0.5
- Browser [e.g. chrome, safari] / 浏览器版本:chrome 112.0.5615.121
- materials / plugins / tools / 其他物料 / 插件 / 工具链版本:materials
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.