lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

低代码物料开发时预览页出现 Slot component is not found(!!不是引擎,和其他issue不同)

Open MossByte07 opened this issue 4 years ago • 2 comments

详细复现步骤:

中文版示例:

  1. 下载最新低代码物料 https://github.com/alibaba/lowcode-materials ,跑起来

  2. 拖入表格,打开某列的自定义渲染,然后拖入图标,点击预览

  3. 在预览页出现错误 image

  4. localstorage和html节点都有slot image

5.猜测是 @alifd/build-plugin-lowcode 中保存schema时没有使用正确方法

MossByte07 avatar Jul 14 '22 07:07 MossByte07

修改 @alifd/build-plugin-lowcode/src/constants.js 中的 engineCoreJsUrl版本到 1.0.3后,错误被解决 image

engine的exportSchema方法 被 editor-preset-plugin.js 调用,实现保存功能 image

MossByte07 avatar Jul 14 '22 09:07 MossByte07

This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] avatar Jul 25 '22 02:07 github-actions[bot]