编辑器升级到5.2.0后的一些问题
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
今天刚把编辑器升级到了5.2.0,遇到一些与老版编辑器不兼容的问题:
1、button组件的显隐(旧版称呼),在新版没有兼容,显示是关闭的

2、select的数据源使用api时,弹窗样式问题

3、表单项容器组件缺失

4、事件动作,旧版是直接界面选择的,新版是作为事件来使用的,事件和动作是两个概念
如图:这个是button配置的弹窗操作,在新版里面会有旧版配置动作的按钮,如果直接是新版操作则变成了事件,建议保留旧版本的动作概念,事件作为扩展,两者可以互为补充

5、事件的适配不完整,如下图(事件是在老的编辑里面编写的,setvalue的值在弹窗中未体现出来);另外配置刷新目标事件的时候,在弹窗右侧--基础设置--组件名称 这里下拉是单选,不能同时选择多个,老版的动作reload,可以填写多个,以英文逗号分隔的

6、按钮的点击事件配置,在新版上直接没了,老版的是在动作面板--自定义点击事件里面

总结:新版的编辑器建议多做一些测试,另外事件和动作两个建议都要有,动作为主,事件为辅
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Reproduce the six reported compatibility problems in the 5.2.0 editor, comparing the old and new configurations for button visibility, select dialogs, form containers, events, actions, and button click handlers. Done means each listed legacy behavior is either restored or documented with a confirmed replacement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100