mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix: 过滤组件样式兼容清空条件
This commit is contained in:
@@ -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])
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user