alibaba / alibaba/lowcode-engine

数据源面板处编辑面板处请求头和请求参数的表单项删除异常

Open
#2,774 0 comments 0 reactions 1 assignee Claimed by @YSMJ1994 View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

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

数据源面板处编辑面板处请求头和请求参数的表单项有多项时,删除中间项,其对应value没删除,只删除了最后一项的value

---

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

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

---

1. 打开 [demo](http://lowcode-engine.cn/demo);
2. 打开数据源面板;
3. 点击新增或编辑已有数据源;
4. 在存在多条请求头或请求参数时删除非最后一条
5. 只会删除最后一条的value

## **Expected behavior (required)** / **预期行为(必填,非常重要)**
A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为
删除项请求参数与请求头信息的表单项时,对应项的name和value应该一同删除

---

## **Screenshots (optional)** / **bug 截图(可选)**
![1](https://github.com/alibaba/lowcode-engine/assets/63301184/a1b361a0-6890-454e-a0a2-d47d68f8c206)
![2](https://github.com/alibaba/lowcode-engine/assets/63301184/da5f38d3-e536-45bf-90f5-3412207de50b)

---

## **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. / 可以追加更多的额外信息,帮助定位问题

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.