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

在数据源里,创建数据源fetch,添加数据处理函数下拉框,选择一个选项,如果再把这个选项remove后,下拉框中的这个选项没有重新显示。

Open tonymaa opened this issue 1 year ago • 4 comments

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

在数据源里,创建数据源fetch,添加数据处理函数下拉框,选择一个选项,如果再把这个选项remove后,下拉框中的这个选项没有重新显示。


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

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

  1. 打开https://lowcode-engine.cn/demo/demo-general/index.html
  2. 点击数据源,再新建fetch
  3. 添加数据处理函数,选择”是否发起请求的计算函数“选项
  4. 点击×,移除这个函数
  5. 该下拉框中缺失”是否发起请求的计算函数“选项

点击Datasource,

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

A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为 下拉框中重新显示已移除的选项

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

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


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

  • AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本 官方Demo
  • AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本 官方Demo
  • Browser [e.g. chrome, safari] / 浏览器版本 Version 116.0.5845.96 (Official Build) (64-bit)
  • materials / plugins / tools / 其他物料 / 插件 / 工具链版本 官方Demo

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

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

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

tonymaa avatar Aug 29 '23 00:08 tonymaa

我也遇到了这样的问题,在删除以后 无法实时更新对应的列表

ZRR641182473 avatar Aug 30 '23 08:08 ZRR641182473

我也有这个情况,初步猜测是下拉框的state没有更新

shiwofeiwo avatar Aug 30 '23 09:08 shiwofeiwo

我也遇到了这个问题。

Ch1Yua avatar Aug 30 '23 09:08 Ch1Yua

image 问题出在这里,数据源这里用了formily,删除操作只是吧相关formitem设置为不可见,我也不知道为什么要改成这样。 现在只能是删除后先点保存,然后重新打开。这样会重新渲染。

ppmmwozuiai avatar Dec 22 '23 09:12 ppmmwozuiai