Merge pull request #2780 from dataease/pr@dev_bag_clear

Pr@dev bag clear
This commit is contained in:
dataeaseShu 2022-08-03 17:22:57 +08:00 committed by GitHub
commit ae88e70870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])
}
})
},