alibaba / alibaba/lowcode-engine

如何动态更新setter类型

Open
#3,089 1 comment 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

比如属性b的setter类型会根据属性a来自动变化,目前使用dynamicSetter无法做到动态变化,只能点一下空白处,然后重新选中组件,属性b才会改变setter
![8d85bb11940943abc72a86dcb4c315f7](https://github.com/user-attachments/assets/3f32b493-4f6c-4b74-bb60-babec0f26396)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported case in the low-code editor: change property a and observe whether property b's setter type updates without clicking away and reselecting the component. Trace the dynamicSetter update path and define done as property b refreshing immediately when property a changes.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.