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]在 layout 不为 mix 时,菜单正下方的右下角有个 语言选择器 无法关闭 #11286

Open
BarryBooder opened this issue Jul 11, 2024 · 0 comments

Comments

@BarryBooder
Copy link

BarryBooder commented Jul 11, 2024

🐛 bug 描述

当 layout 不为 mix 时,菜单正下方的右下角有个 语言选择器无法关闭,翻阅 API https://procomponents.ant.design/components/layout#menu 无法找到对应的 API,通过.umi文件查得 API 是 rightContentRender
,但是这个 API 在文档中显示已经被替换。

可以通过 rightContentRender:false 关闭这个选择器。

🏞 期望结果 | Expected results

在 src/.umi/plugin-layout/rightRender.tsx 中移除 <SelectLang />,或直接移除 rightRender.tsx 组件

© 版本信息

  • Ant Design Pro 版本:6.0.0
  • umi 版本:4.x
  • 浏览器环境:Chrome
  • 开发环境 :Windows 10

🚑 其他信息

Snipaste_2024-07-11_23-15-20

Snipaste_2024-07-11_23-17-33

@BarryBooder BarryBooder changed the title 🐛 [BUG]在 layout 不为 mix 时,菜单正下方的右下角有个 语言选择器无法关闭 🐛 [BUG]在 layout 不为 mix 时,菜单正下方的右下角有个 语言选择器 无法关闭 Jul 11, 2024
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