Explorar o código

修复选择框bug

丸子 hai 5 meses
pai
achega
db2fe9348f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/components/ai/image/ImageToImage.vue

+ 3 - 1
src/components/ai/image/ImageToImage.vue

@@ -92,7 +92,9 @@
           <el-select 
             v-model="selectedStyle" 
             placeholder="选择风格"
-              filterable
+            filterable
+            allow-create
+            default-first-option
             @change="handleStyleSelectChange"
             size="small"
             class="custom-style-select"