mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 01:38:11 +08:00
fix: 过滤器背景色透明
This commit is contained in:
@@ -51,7 +51,9 @@ export default {
|
||||
const newValue = { brColor, wordColor, innerBgColor }
|
||||
const cssVar = this.typeTransform()
|
||||
this.styleAttrs.forEach((ele, index) => {
|
||||
document.documentElement.style.setProperty(cssVar[index], !isPanelDe ? '' : newValue[ele])
|
||||
if (newValue[ele]) {
|
||||
document.documentElement.style.setProperty(cssVar[index], !isPanelDe ? '' : newValue[ele])
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user