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
在暗黑模式下,用了antd 的组件都可以切换过来,但是在menu这里配置的时候做不到切换颜色。 我直接放图,你们好看一些。
请看图
The text was updated successfully, but these errors were encountered:
你好!根据你的描述和截图,你想在暗黑模式下动态切换菜单的颜色,但是当前的配置方式并不能实现这个效果。我建议你使用动态的方式来设置颜色,使用 DesginToken 来替换固定的配置。你可以在 app.ts 文件中的 layout 方法中通过传入 initalValues 参数来动态设置菜单的颜色。这样就能实现在暗黑模式下动态切换菜单颜色的效果啦。
app.ts
layout
initalValues
Sorry, something went wrong.
我有同样的问题,请问解决了吗
No branches or pull requests
🐛 bug 描述
在暗黑模式下,用了antd 的组件都可以切换过来,但是在menu这里配置的时候做不到切换颜色。
我直接放图,你们好看一些。
请看图
The text was updated successfully, but these errors were encountered: