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] 使用token修改layout颜色不生效 #11255

Closed
ideaviewes opened this issue Jun 8, 2023 · 2 comments
Closed

[Bug] 使用token修改layout颜色不生效 #11255

ideaviewes opened this issue Jun 8, 2023 · 2 comments

Comments

@ideaviewes
Copy link

What happens?

[Bug] 使用token修改layout颜色不生效

Mini Showcase Repository(REQUIRED)

https://github.com/ideaviewes/mini-showcase-token-useless.git

How To Reproduce

git clone https://github.com/ideaviewes/mini-showcase-token-useless.git
cd antdpro-token-useles
tyarn
tyarn start

登录进去,
我改了app.tsx文件,在里面设置了token,但是不生效

Context

  • Umi Version: 4.0.52
  • Node Version: v18.16.0
  • Platform:win10 x64
@fz6m
Copy link
Contributor

fz6m commented Jun 8, 2023

看一下 config.ts 里的 layout 静态配置,被 token: {} 覆盖了运行时配置,删了就好了。

@fz6m fz6m closed this as completed Jun 8, 2023
@ideaviewes
Copy link
Author

好的

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

2 participants