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] umi4 在app.tsx配置中设置layout.pure = true后,使用ErrorBoundary不生效如何解决? #12617

Open
harveyli1013 opened this issue Aug 5, 2024 · 1 comment

Comments

@harveyli1013
Copy link

What happens?

umi4 在app.tsx配置中设置layout.pure = true后,使用ErrorBoundary不生效

企业微信截图_17228273611819
设置pure为false的时候ErrorBoundary是生效的
请问,在pure = true时,如何设置ErrorBoundary来使其在页面生效

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Umi Version:
  • Node Version:
  • Platform:
@PeachScript
Copy link
Member

@chenshuai2144 看看这个?

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