fix:修改同步图表遮罩层颜色

This commit is contained in:
zyh
2022-10-20 17:38:19 +08:00
parent 9d08d29b20
commit 5d88d61043
3 changed files with 7 additions and 4 deletions

View File

@@ -151,6 +151,9 @@ function myLoadingFunction (el, binding, vnode) {
if (binding.modifiers.scaleMax) {
divBox.style.transform = 'scale(2)'
}
if (binding.modifiers.dark) {
divBox.style.background = 'rgba(0, 0, 0, 0.7)'
}
const div = document.createElement('div')
div.setAttribute('class', className + ' my-loading')
if (className === 'bars1') {