hlerenow / chameleon

Web visual programming engine. (lowcode)
https://hlerenow.github.io/chameleon/
Apache License 2.0
177 stars 19 forks source link

fix: core and build-script-example type errors #7

Closed StringKe closed 1 year ago

StringKe commented 1 year ago

changes:

  1. engine: props customSetterMap in CForm used in CustomSchemaForm Optional
  2. engine: Workbench does not define subTopToolBarView
  3. engine: props node in VisualPanel miss CRootNode type
  4. build-script-example: the build-script depends on vite but build-script-example does not depend on vite, and the defined vite-env.d.ts cannot be recognized correctly.
hlerenow commented 1 year ago

第四点问题我这边没有任何问题,我用的 vscode,你这边具体报什么错?

VisualPanel 插件已废弃,目前已经移除掉了

我本地更新了最新的代码,你更新下呢

StringKe commented 1 year ago

在 webstorm 中会找不到 vite 这样就导致了 png jpg 等静态资源的类型不存在。

CleanShot 2023-04-23 at 21 42 34@2x

CleanShot 2023-04-23 at 21 42 59@2x

StringKe commented 1 year ago

我看到你的提交了,关闭这个提交了。

hlerenow commented 1 year ago

我现在正在给 engine 添加节点级别的 isContainer 配置,这个可以作为一个通用功能。然后配和自定义setter 就可以实现你想要的效果了