vueComponent/ant-design-vue-pro

The theme color does not take effect on the login page (主题色首屏在登录页未能生效)

KaiKaio opened this issue · 0 comments

Describe the bug (描述 Bug)

A clear and concise description of what the bug is.

  1. 首屏打开登录页的时
  2. src\config\defaultSettings.js 设置的 primaryColor 未生效
  3. 需要登录了以后,所设置的 primaryColor 才会生效 (也就是说,退出登录了以后,登录页的主题色也已经覆盖了)

To Reproduce (重现步骤)
Steps to reproduce the behavior:

  1. 项目启动
  2. 首屏登录页
  3. 直接可以发现主题色未生效

Expected behavior(你期待的是什么?)

  1. 首屏登录页直接生效 src\config\defaultSettings.js 所配置的主题色

Screenshots(截图)
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows11
  • Browser Chrome
  • Version v111.0.5563.65

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context(附加信息)
Add any other context about the problem here.