alibaba / alibaba/lowcode-engine

循环值组件绑定事件扩展参数无更新

Open
#2,984 0 comments 0 reactions 0 assignees 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(必填)**

循环值组件绑定事件扩展参数无更新

A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述
1、在容器组件上绑定循环值,值的格式为
[{
projectId: '',
projectName: ''
}]
2、容器中更改projectName按钮组件绑定点击事件,事件中启用扩展参数
![image](https://github.com/alibaba/lowcode-engine/assets/5989227/0253d284-2a1a-4a98-8e67-54eaa6a96e04)
3、第一次可以显示正确的projectName字段的值,更此字段的值后,重新调用接口获取数据,更改state的值
4、再次点击按钮,projectName的字段值为初始时数据的值
![image](https://github.com/alibaba/lowcode-engine/assets/5989227/01ed5d96-a3db-4db1-ad2e-7d6009fe0e92)

---

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

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

---

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a container bound to a loop value containing projectId and projectName, then update projectName and refresh the state through the interface call. Check the event's extension-parameter value on the first and subsequent button clicks. Done means the extension parameter reflects the updated projectName rather than the initial value.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.