-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
Assignees
Labels
bugSomething isn't workingSomething isn't working