Browse Source

fix: 修复边框14组件设置透明度为0时没有完全透明的情况

wu.jian2 1 year ago
parent
commit
b6c1a55e3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data-room-ui/packages/Borders/Border14/index.vue

+ 1 - 1
data-room-ui/packages/Borders/Border14/index.vue

@@ -65,7 +65,7 @@ export default {
       return this.config.customize.gradientDirection
     },
     opacity () {
-      return this.config.customize.opacity || 100
+      return (this.config.customize.opacity === 0 || this.config.customize.opacity) ? this.config.customize.opacity : 100
     }
   },
   watch: {},