alibaba / alibaba/lowcode-engine

schema的componentsMap中低代码组件无version版本字段

Open
#3,051 0 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

![image](https://github.com/alibaba/lowcode-engine/assets/22443142/35a20efa-783f-445f-8ef4-39925f8be9eb)
经过排查源码中对低代码组件的version无添加

案列:[官方demo链接](https://lowcode-engine.cn/demo/demo-lowcode-component/index.html)
拖拽低代码组件后保存,查看本地存储,无version
![image](https://github.com/alibaba/lowcode-engine/assets/22443142/3090f8b7-8634-4c4b-bc13-1b043415ba05)

使用场景:在进行设计时假如有100个低代码组件,而设计只使用了一个低代码组件,在渲染时,需要通过componentsMap获取使用了哪些低代码中组件从而对对应的组件物料进行拉取,而低代码组件也可能进行版本更新,如果进行版本更新了不影响原来使用老版本的页面的展示,故这个拉取需要版本号及componentName

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the schema's componentsMap is generated and persisted when a low-code component is dragged and saved, using the linked official demo to reproduce the current behavior. Check how componentsMap is later used for component loading, and consider the work complete when saved schemas include the required component version and preserve rendering against older versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.