Skip to content

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

DymoneLewis
Copy link
Collaborator

@DymoneLewis DymoneLewis commented May 29, 2025

fix #2013 #1573
并中幅度优化菜单插件功能,大幅度优化菜单相关的文档和demo

二编:看了下diff,还是大强化吧

1. 修复画布isSilentMode变化时,菜单DOM的显隐不跟随变化问题
2. 修复菜单项变化时,菜单面板不实时更新问题
3. 菜单项支持配置禁用状态 fix #1573
4. 菜单支持指定icon并调整样式
Copy link

changeset-bot bot commented May 29, 2025

⚠️ No Changeset found

Latest commit: 6cd31a5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@DymoneLewis DymoneLewis changed the title Issuefix/may round 2 IssueFix/May round 2 & Menu插件大强化 May 29, 2025
@@ -110,138 +139,16 @@ class Menu {
},
},
]
this.menuTypeMap?.set(DefaultSelectionMenuKey, DefaultSelectionMenu)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

非private的方法统一挪到private方法后面了,所以这里看起来删了写代码
(无他,就是两种方法混着写看起来很难受

@DymoneLewis DymoneLewis requested a review from boyongjiong May 29, 2025 13:24
@wumail
Copy link
Collaborator

wumail commented May 29, 2025

666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report]: 2.0.9版本,边位置调整后,保存获取数据,边位置错乱
2 participants