ソースを参照

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

Grnetsky 1 年間 前
コミット
3d5ea800d1
1 ファイル変更3 行追加0 行削除
  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"