fix: 🐛 添加stylelint-config-recommended依赖,设置layout为top时默认背景颜色

This commit is contained in:
詹婉
2022-04-11 10:31:58 +08:00
parent 57b27071e9
commit 3ffd82dba2
3 changed files with 1709 additions and 1000 deletions

View File

@@ -92,6 +92,10 @@ const setMenuTheme = (color: string) => {
appStore.setTheme(theme)
appStore.setCssVarTheme()
}
if (layout.value === 'top') {
headerTheme.value = '#fff'
setHeaderTheme('#fff')
}
// 监听layout变化重置一些主题色
watch(