fix: 🐛 添加stylelint-config-recommended依赖,设置layout为top时默认背景颜色
This commit is contained in:
@@ -92,6 +92,10 @@ const setMenuTheme = (color: string) => {
|
||||
appStore.setTheme(theme)
|
||||
appStore.setCssVarTheme()
|
||||
}
|
||||
if (layout.value === 'top') {
|
||||
headerTheme.value = '#fff'
|
||||
setHeaderTheme('#fff')
|
||||
}
|
||||
|
||||
// 监听layout变化,重置一些主题色
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user