alibaba / alibaba/lowcode-engine
FunctionSetter使用问题 bug
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
1、官方demo网站, antd组件库, 拖入固钉组件

2、点击setter中的绑定函数

3、选择新建,点击ok新建绑定事件


4、页面报错, 新建事件后组建会刷新, 但实际上源码部分还没更新,仅仅是通过编辑器插入了一个代码模板 ,此时组件内部调用该函数就会报错, 类似的其他组件也是这样的问题。

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the steps in the official demo with the antd component and its FunctionSetter: create a new bound function and click OK. Trace the refresh that follows event creation and compare it with the editor-inserted code template. Done means the component no longer errors when invoking the newly created function and the source is updated before the refresh.
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
- Mostly clear
- Newbie friendliness
- 35/100