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

配置StyleSetter属性时,想只展示文字的配置,却不生效

Open CheesySir opened this issue 1 year ago • 5 comments

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

使用物料库项目 配置组件属性,使用了StyleSetter,配置了"showModuleList": ['font'],但是不生效 代码如下 image 实际展示效果如下 image

A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述


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

Steps to reproduce the behavior: / 详细复现步骤:


English version example:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

中文版示例:

  1. 打开 demo
  2. 点击标题;
  3. 在右侧修改标题内容为「修改后的标题」;
  4. 渲染画布标题组件没有更新显示为「修改后的标题」;

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

A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为


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

Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题


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

  • AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本
  • AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本
  • Browser [e.g. chrome, safari] / 浏览器版本
  • materials / plugins / tools / 其他物料 / 插件 / 工具链版本

(this information can be collected via the manual plugin / 版本信息可通过低代码用户手册插件收集)

Additional context (optional) / 更多额外信息(可选)

Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题

CheesySir avatar Mar 13 '23 05:03 CheesySir

看下依赖的ext依赖的版本是多少

hzd822 avatar Mar 13 '23 06:03 hzd822

看下依赖的ext依赖的版本是多少 这个是物料库的项目,直接用build-script生成的,没有直接安装这两个包,通过window变量,查看包的版本如下 AliLowCodeEngineExt:1.0.4 AliLowCodeEngine: 1.0.12

CheesySir avatar Mar 13 '23 06:03 CheesySir

Screenshot 2023-03-15 at 11 28 16

beautiful-boyyy avatar Mar 15 '23 03:03 beautiful-boyyy

这种写法也是不行的 image image 刚刚使用下面的方式生成了一个组件库项目,配置也是不生效 image

CheesySir avatar Mar 15 '23 09:03 CheesySir

已经找到原因了 是@alifd/build-plugin-lowcode这个npm包和github的代码不一致,已经在交流群里和金蝉大佬确认了

CheesySir avatar Mar 16 '23 03:03 CheesySir