ソースを参照

【增加】Dall3 增加图片生成 (function 待实现)

cherishsince 1 年間 前
コミット
60de1b9737
1 ファイル変更16 行追加1 行削除
  1. 16 1
      src/views/ai/image/dall3/index.vue

+ 16 - 1
src/views/ai/image/dall3/index.vue

@@ -65,7 +65,10 @@
       </div>
     </el-space>
   </div>
-
+  <div class="btns">
+<!--    <el-button size="large" round>重置内容</el-button>-->
+    <el-button type="primary" size="large" round @click="handlerGenerateImage">生成内容</el-button>
+  </div>
 </template>
 <script setup lang="ts">
 
@@ -155,6 +158,12 @@ const handlerSizeClick = async (imageSize: ImageSizeVO) => {
   console.log(imageSize)
 }
 
+/**
+ * 图片生产
+ */
+const handlerGenerateImage = async () => {
+  // todo @范 图片生产逻辑
+}
 </script>
 <style scoped lang="scss">
 
@@ -249,4 +258,10 @@ const handlerSizeClick = async (imageSize: ImageSizeVO) => {
     border: 1px solid #1293ff !important;
   }
 }
+
+.btns {
+  display: flex;
+  justify-content: center;
+  margin-top: 50px;
+}
 </style>