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

materials 本地启动打开JS面板报错 #100

Closed sundi78634 closed 2 years ago

sundi78634 commented 2 years ago

Describe the bug (required) / 详细描述 bug(必填)

lowcode-materials 库本地npm run lowcode:dev启动,点击左侧JS面板报错。

image


To Reproduce (required) / 如何复现 bug?(必填,非常重要)

  1. npm run lowcode:dev启动 lowcode-materials
  2. 点击左侧JS面板

Expected behavior (required) / 预期行为(必填,非常重要)

demo 中所示,打开源码面板,可进行编辑


Screenshots (optional) / bug 截图(可选)

image image


Environments (please complete the following information) (required): / 请提供如下信息(必填)

alvarto commented 2 years ago

this.props.editor.get 应该是旧版的源码编辑引用的 API,看看是不是工具链引用的版本不对?

eternalsky commented 2 years ago

this.props.editor.get 应该是旧版的源码编辑引用的 API,看看是不是工具链引用的版本不对?

material 相关的需要 @mark-ck 来看一下。

jinchanz commented 2 years ago

JS 面板确实用的还是内部版,我处理下

sundi78634 commented 2 years ago

JS 面板确实用的还是内部版,我处理下

JS 面板下边的数据源有相似的问题。

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.

wssgchungang commented 2 years ago

@mark-ck 请问下这个问题修复了吗 脚手架@alilc/element的js面板 也有一样的问题,数据源面板也有

jinchanz commented 2 years ago

fixed in @alifd/build-plugin-lowcode@0.2.0-beta.6

LeoYuan commented 2 years ago

fixed in @alifd/build-plugin-lowcode@0.2.0-beta.6

发个正式版?