You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---原始邮件---
发件人: "LeoYuan ***@***.***>
发送时间: 2022年9月8日(周四) 中午11:06
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;非常
主题: Re: [alibaba/lowcode-engine] JSSlot 会渲染一个额外的容器 lc-container,影响设计时的布局 (Issue #993)
已经确认问题了,目前有两种方案:
antd-lowcode-materials 已经定制了 Slot 组件,参考代码,注入这个组件,将会覆盖内置的 Slot 组件;
将内置的 Slot 组件移除 .lc-container 这一层结构;
建议你先用方案1,方案2我们同步修改~
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Activity
haoziqaq commentedon Aug 31, 2022
引擎版本1.0.12
haoziqaq commentedon Sep 2, 2022
目前我是从 lowcode-materials,fork过来的仓库,进入antd物料包里装好依赖,然后把package.json的name改成了别的名字(其他什么都没动),然后跑lowcode:dev命令,渲染结果就成这样了,目前不知道是什么原因。希望解惑。
liujuping commentedon Sep 5, 2022
这是设计态下的 JSSlot 组件,在没有子元素的时候,起到让用户知道这里可以拖拽进去元素的提示作用。
haoziqaq commentedon Sep 5, 2022
可是组件已经拖进来了,他就不该继续存在了呀,而且渲染态的时候,他依然存在不知道怎么回事。
而且您看看这个问题,也挺奇怪
haoziqaq commentedon Sep 5, 2022
在我没改包名之前,他的渲染是符合期望的。改了包名就出问题了
haoziqaq commentedon Sep 6, 2022
复现仓库: https://github.com/haoziqaq/lowcode-materials
复现步骤
LeoYuan commentedon Sep 8, 2022
已经确认问题了,目前有两种方案:
建议你先用方案1,方案2我们同步修改~
haoziqaq commentedon Sep 8, 2022
refactor: remove default container of built-in Slot component, fixes #…
refactor: remove default container of built-in Slot component, fixes #…