We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在 3.5.0 版本,添加
declare module 'react-router' { export interface RouteObject { name?: string; } }
会让 routes?.[0].route.name 的 name 报错
routes?.[0].route.name
Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库
https://github.com/crazyair/umi-max-use-model-bug/tree/react-router
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
The text was updated successfully, but these errors were encountered:
@fz6m 升级完后,又发现一个 ts 问题
Sorry, something went wrong.
No branches or pull requests
What happens?
在 3.5.0 版本,添加
会让
routes?.[0].route.name
的 name 报错Mini Showcase Repository(REQUIRED)
How To Reproduce
https://github.com/crazyair/umi-max-use-model-bug/tree/react-router
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
Context
The text was updated successfully, but these errors were encountered: