forked from github/dataease
Merge pull request #2778 from dataease/pr@dev_bag_clear
Pr@dev bag clear
This commit is contained in:
commit
f2c0d5082f
@ -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])
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user