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
在全局 ProConfigProvider 中配置的 token 不生效,以 ProLayout 为例,必须在 ProLayout 的 props 中配置 token 才会生效,全局配置不生效。
使用 ProConfigProvider 在最外层包裹所有组件,并配置 token。
token 生效。
https://codesandbox.io/s/ji-chu-shi-yong-forked-pio434?file=/App.tsx
可能是此处覆盖了全局配置,但是没有从全局配置中继承。
pro-components/packages/layout/src/ProLayout.tsx
Lines 920 to 925 in 76bf097
The text was updated successfully, but these errors were encountered:
当前 Issue 未检测到标题,请规范填写,谢谢!
The title of the current issue is not detected, please fill in according to the specifications, thank you!
Sorry, something went wrong.
I see the same error, please reopen :)
遇到相同问题了
一样
No branches or pull requests
🐛 bug 描述
在全局 ProConfigProvider 中配置的 token 不生效,以 ProLayout 为例,必须在 ProLayout 的 props 中配置 token 才会生效,全局配置不生效。
📷 复现步骤
使用 ProConfigProvider 在最外层包裹所有组件,并配置 token。
🏞 期望结果
token 生效。
💻 复现代码
https://codesandbox.io/s/ji-chu-shi-yong-forked-pio434?file=/App.tsx
© 版本信息
🚑 其他信息
可能是此处覆盖了全局配置,但是没有从全局配置中继承。
pro-components/packages/layout/src/ProLayout.tsx
Lines 920 to 925 in 76bf097
The text was updated successfully, but these errors were encountered: