mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
Merge pull request #2778 from dataease/pr@dev_bag_clear
Pr@dev bag clear
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