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

antd pro 的 ProLayout组件 错误边界页面出现时,路由无法切换 🐛 [BUG] #11212

Open
521guyu opened this issue Apr 15, 2024 · 0 comments

Comments

@521guyu
Copy link

521guyu commented Apr 15, 2024

🐛 bug 描述

我在使用 antd pro 官方脚手架时,页面里 js出现错误,页面显示 默认的错误边界 组件。但是 我切换其他页面时,路由地址 变了,但页面却没变化。导致 加上错误边界后,还不如不加。

📷 复现步骤 | Recurrence steps

"name": "ant-design-pro",
"version": "6.0.0",
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
我使用的是最新脚手架。今天 新 clone下来 ,什么都没改就在 一个页面里 故意写一个js的错误,结果和我生产环境的项目 行为一致。
https://github.com/ant-design/ant-design-pro/assets/42431406/82564fbf-7ae9-4d86-ac15-32d950d3c3cc

期望结果:我想问问有没有解决方案?或者更好的方案?

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

1 participant