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]新版本isSilentMode相关bug修复导致的Menu执行报错问题 #1359

Closed
CAIyb7923 opened this issue Oct 8, 2023 · 0 comments · Fixed by #1373
Closed

[Bug report]新版本isSilentMode相关bug修复导致的Menu执行报错问题 #1359

CAIyb7923 opened this issue Oct 8, 2023 · 0 comments · Fixed by #1373
Labels
bug Something isn't working

Comments

@CAIyb7923
Copy link

问题描述

初始化的时候做如下设置:
LogicFlow.use(Menu); const lf = new LogicFlow({ ...otherConfigs, isSilentMode: true });

将@logicflow/core版本更新到1.2.15,@logicflow/extension更新到1.2.16,控制台会报错导致页面无法打开,具体报错如下:
image
image
似乎是因为新版本Menu执行时,加了只有isSilentMode=false才会初始化__MenuDOM的判断导致的上述问题:
image

期望:
需要isSilentMode=true时,如何避免出现上述截图里的报错?

相关信息 context

LogicFlow Version: 1.2.15
Node Version: 16.19.1

@wumail wumail added the bug Something isn't working label Oct 8, 2023
@wumail wumail mentioned this issue Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants