alibaba / alibaba/lowcode-engine

在编辑器内拖入和 Slot 相关组件之后,点击预览 Slot 组件被移除

Open
#3,109 1 comment 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

在编辑器内拖入 demo 自带的气泡组件,点击预览时发现无法触发。
debug 源码发现时因为编辑器内对 slot 组件有处理,而预览的渲染器内没有针对 slot 进行处理。

image

![image](https://github.com/user-attachments/assets/a37539a3-b56d-4bf2-914c-c8b94f5b5e28)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by dragging the demo bubble component containing Slot-related components into the editor and opening preview. Compare how the editor handles Slot components with the preview renderer, then verify that the component is retained and can be triggered in preview.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.