alibaba / lowcode-engine

An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系
https://lowcode-engine.cn
MIT License
14.58k stars 2.53k forks source link

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

Closed CalmDownJ closed 2 years ago

CalmDownJ commented 2 years ago

详细复现步骤:

中文版示例:

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

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

  3. 在预览页出现错误 image

  4. localstorage和html节点都有slot image

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

CalmDownJ commented 2 years ago

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

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

github-actions[bot] commented 2 years ago

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.