Skip to content

[Bug]: 页面 UI BUG #1562

@tc7326

Description

@tc7326

gin-vue-admin 版本

master

Node 版本

18.17.1

Golang 版本

1.20.4

是否依旧存在

可以

bug描述

web 项目

这个 gin-vue-admin\web\src\view\layout\index.vue 里面

的这段代码

          <div
            v-if="isSider"
            class="inline-flex text-white text-center font-bold text-2xl"
            :style="{ color: textColor }"
          >
            {{ $GIN_VUE_ADMIN.appName }}
          </div>

这里的 class 里的 text-white 导致下面的 style color 失效。

具体表现为:切换主题为 简约白 时,侧栏顶部的 appName 的文字颜色不会随着主题变化

修改建议

删除 class 里的 text-white 即可

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions