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

[Bug report] toolbarRight can not custom menu #527

Closed
RSS1102 opened this issue Aug 9, 2023 · 2 comments
Closed

[Bug report] toolbarRight can not custom menu #527

RSS1102 opened this issue Aug 9, 2023 · 2 comments

Comments

@RSS1102
Copy link
Collaborator

RSS1102 commented Aug 9, 2023

The error is as follows:

Toolbar.js:131 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'createBtn')
    at Toolbar.js:131:42
    at Array.forEach (<anonymous>)
    at Toolbar.drawRightMenus (Toolbar.js:130:5)
    at Toolbar.drawMenus (Toolbar.js:111:51)
    at new Toolbar (Toolbar.js:47:10)
    at Cherry.createToolbar (Cherry.js:391:20)
    at Cherry.init (Cherry.js:136:25)
    at new Cherry (Cherry.js:98:10)
    at index-demo.js:209:19
(匿名) @ Toolbar.js:131
drawRightMenus @ Toolbar.js:130
drawMenus @ Toolbar.js:111
Toolbar @ Toolbar.js:47
createToolbar @ Cherry.js:391
init @ Cherry.js:136
Cherry @ Cherry.js:98
(匿名) @ index-demo.js:209
Promise.then(异步)
(匿名) @ index-demo.js:207
contentScript.bundle.js:67 Unique user id has not been set in posthog.identify
@RSS1102
Copy link
Collaborator Author

RSS1102 commented Aug 9, 2023

When multiple Level2Menu appear, clicking on a non first Level2Menu brings up the first secondary menu.
image

@sunsonliu
Copy link
Collaborator

#531
改了一版,求

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