Skip to content

delete键原生操作怎么实现 #2287

Answered by erha19
chaoyue1217 asked this question in Q&A
Discussion options

You must be logged in to vote

@chaoyue1217 目前 Electron 相关菜单可以通过 nativeRole方式去指定原生操作,相关代码见:https://github.com/opensumi/core/blob/068786d0cbdd753b8b7597a9dca386400f89b310/packages/core-browser/src/common/common.contribution.ts#L239~L278

看一下是否能解决你的问题?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by chaoyue1217
Comment options

You must be logged in to vote
2 replies
@chaoyue1217
Comment options

@erha19
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants