-
Notifications
You must be signed in to change notification settings - Fork 1.2k
IssueFix/May round 2 & Menu插件大强化 #2167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
1. 修复画布isSilentMode变化时,菜单DOM的显隐不跟随变化问题 2. 修复菜单项变化时,菜单面板不实时更新问题 3. 菜单项支持配置禁用状态 fix #1573 4. 菜单支持指定icon并调整样式
|
@@ -110,138 +139,16 @@ class Menu { | |||
}, | |||
}, | |||
] | |||
this.menuTypeMap?.set(DefaultSelectionMenuKey, DefaultSelectionMenu) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
非private的方法统一挪到private方法后面了,所以这里看起来删了写代码
(无他,就是两种方法混着写看起来很难受
666 |
fix #2013 #1573
并中幅度优化菜单插件功能,大幅度优化菜单相关的文档和demo
二编:看了下diff,还是大强化吧