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

在子应用的bootstrap阶段发生错误,会无法再加载其他的应用 #886

Closed
zczhangchao51 opened this issue Aug 21, 2020 · 1 comment · Fixed by kuitos/import-html-entry#56
Labels
bug Something isn't working

Comments

@zczhangchao51
Copy link
Contributor

What happens?

在子应用的bootstrap阶段发生错误,再也无法切换其他的子应用

image

Mini Showcase Repository(REQUIRED)

稍微改动官方的例子可复现

例如在react15的index.js文件里加入一段会导致错误的代码

import 'antd/dist/antd.min.css';
import './index.css';
+ console.log(a);

即可复现

Context

  • qiankun Version: 2.0.21
  • Platform Version: mac
  • Browser Version: chrome 84
@gongshun
Copy link
Collaborator

可以捕获全局错误吧:addGlobalUncaughtErrorHandler

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.

3 participants