Commit ce4d0a5
taojiu
refactor(designer): 优化内置模拟器中的事件初始化方式
- 替换过时的 Event 构造函数和 initEvent 方法
- 使用新的 Event 构造函数直接创建带有 bubbles 属性的事件
- 提高代码的可读性和兼容性1 parent 96411bf commit ce4d0a5
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
668 | | - | |
| 667 | + | |
669 | 668 | | |
670 | 669 | | |
671 | 670 | | |
| |||
0 commit comments