Skip to content

Error thrown out in Menu widget when use Random function in key binding #6057

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

Closed
1 task done
tnmoon opened this issue Oct 27, 2022 · 2 comments
Closed
1 task done
Labels

Comments

@tnmoon
Copy link

tnmoon commented Oct 27, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.3.0-beta.2

Environment

macOS, Chrome 106.0.5249.119, Vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. click 菜单1;
  2. click 菜单2;
  3. Cannot read properties of undefined (reading 'childrenEventKeys') thrown out;

What is expected?

avoid to throw error when use Random function in key binding;

What is actually happening?

err thrown out when use Random function in key binding;

@tnmoon tnmoon changed the title Error thrown in Menu widget when use Random function in key binding Error thrown out in Menu widget when use Random function in key binding Oct 27, 2022
@tangjinzhou
Copy link
Member

这个 key 加的没有任何意义啊

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants