Prechádzať zdrojové kódy

feat: 添加color-picker组件透明度属性

Grnetsky 1 rok pred
rodič
commit
3d5ea800d1
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      src/views/components/PenProps.vue

+ 3 - 0
src/views/components/PenProps.vue

@@ -390,6 +390,7 @@
                         class="w-full"
                         format="CSS"
                         :color-modes="['monochrome']"
+                        :enable-alpha="true"
                         :show-primary-color-preview="false"
                         enable-alpha
                         v-model="data.pen.background"
@@ -404,6 +405,7 @@
                       <t-color-picker
                         class="w-full"
                         format="CSS"
+                        :enable-alpha="true"
                         :color-modes="['linear-gradient']"
                         :show-primary-color-preview="false"
                         v-model="data.pen.gradientColors"
@@ -417,6 +419,7 @@
                       <t-color-picker
                         class="simple"
                         format="CSS"
+                        :enable-alpha="true"
                         :color-modes="['linear-gradient']"
                         :show-primary-color-preview="false"
                         v-model="data.pen.gradientColors"