Skip to content
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

在onBeforeCommandExecute中如何阻止执行列队 #577

Open
wl5033 opened this issue Oct 28, 2020 · 1 comment
Open

在onBeforeCommandExecute中如何阻止执行列队 #577

wl5033 opened this issue Oct 28, 2020 · 1 comment

Comments

@wl5033
Copy link

wl5033 commented Oct 28, 2020

在onBeforeCommandExecute中如何阻止执行列队

@yynluohan
Copy link

在onBeforeCommandExecute中如何阻止执行列队
试试这个
onBeforeCommandExecute={(e) => { if (e.command.name=== 'delete') { e.command.execute = () => {} } }}

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

No branches or pull requests

2 participants