forked from github/dataease
fix: 过滤组件样式兼容清空条件
This commit is contained in:
parent
f2c0d5082f
commit
3b0db41b7e
@ -53,6 +53,8 @@ export default {
|
||||
this.styleAttrs.forEach((ele, index) => {
|
||||
if (newValue[ele]) {
|
||||
document.documentElement.style.setProperty(cssVar[index], !isPanelDe ? '' : newValue[ele])
|
||||
} else {
|
||||
document.documentElement.style.removeProperty(cssVar[index])
|
||||
}
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user