alibaba / alibaba/lowcode-engine

如何修改筛选条件组件FIlter的的默认项

Abierto
#2,013 0 comentarios 0 reacciones 1 asignado Reclamado por @eternalsky Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
15.9k
Forks
2.7k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

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

找到给默认children的地方,给了不同的表单项名称和primaryKey,进来多个元素,每次拖进去都会执行mergeChildren删的只剩一个,该了这部分逻辑让他返回多个的话,拖组件进来就死循环了

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

![image](https://github.com/alibaba/lowcode-engine/assets/28246564/826462a7-34a9-44d5-81c2-35e92b9ad26d)
![image](https://github.com/alibaba/lowcode-engine/assets/28246564/a95feec0-33eb-4cc1-906b-a68091938bf2)

最后拖组件进入了死循环

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

---

English version example:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

中文版示例:
1. 打开 [demo](http://lowcode-engine.cn/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](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png) / 版本信息可[通过低代码用户手册插件收集](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png))

## **Additional context (optional)** / **更多额外信息(可选)**
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.