From 16d53bbf4bde721e2975a68ebd19f662d63b079e Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 2 Jul 2024 21:58:33 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=80=90sd=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=AD=E6=96=87=E5=88=A4=E6=96=AD"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 47636a8a87a3f4b4d4e1bd36ca05eb65b9a66167. --- src/views/ai/image/midjourney/index.vue | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/views/ai/image/midjourney/index.vue b/src/views/ai/image/midjourney/index.vue index 64ab4fed..7f288747 100644 --- a/src/views/ai/image/midjourney/index.vue +++ b/src/views/ai/image/midjourney/index.vue @@ -88,14 +88,6 @@ -
-
- 参考图 -
- - - -
生成内容 @@ -126,7 +118,6 @@ interface ImageSizeVO { // 定义属性 const prompt = ref('') // 提示词 -const referImage = ref() // 参考图 const selectHotWord = ref('') // 选中的热词 const hotWords = ref(['中国旗袍', '古装美女', '卡通头像', '机甲战士', '童话小屋', '中国长城']) // 热词 const selectModel = ref() // 选中的热词 @@ -256,7 +247,6 @@ const handlerGenerateImage = async () => { await message.confirm(`确认生成内容?`) // todo @范 图片生产逻辑 try { - console.log('referImage.value', referImage.value) // 回调 emits('onDrawStart', selectModel.value.key) // 发送请求 @@ -266,7 +256,7 @@ const handlerGenerateImage = async () => { width: selectImageSize.value.width, height: selectImageSize.value.height, version: selectVersion.value, - referImageUrl: referImage.value, + base64Array: [], } as ImageMidjourneyImagineReqVO await ImageApi.midjourneyImagine(req) } finally {