From c96f3cea611f594615aff41530bd7e8fc7b22b8f Mon Sep 17 00:00:00 2001 From: cherishsince Date: Wed, 5 Jun 2024 09:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20image=20mj=20=E6=8C=89=E9=92=AE=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/image/ImageTask.vue | 4 ++-- src/views/ai/image/ImageTaskCard.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/ai/image/ImageTask.vue b/src/views/ai/image/ImageTask.vue index ec18fb0e..31a947b6 100644 --- a/src/views/ai/image/ImageTask.vue +++ b/src/views/ai/image/ImageTask.vue @@ -63,8 +63,8 @@ const handlerImageBtnClick = async (type, imageDetail: ImageDetailVO) => { } /** 图片 - mj btn click */ -const handlerImageMjBtnClick = async (button: ImageMjButtonsVO) => { - console.log('mj click', button) +const handlerImageMjBtnClick = async (button: ImageMjButtonsVO, imageDetail: ImageDetailVO) => { + console.log('mj click', button, imageDetail) } /** 下载 - image */ diff --git a/src/views/ai/image/ImageTaskCard.vue b/src/views/ai/image/ImageTaskCard.vue index e2c4d7c7..bafb5eb8 100644 --- a/src/views/ai/image/ImageTaskCard.vue +++ b/src/views/ai/image/ImageTaskCard.vue @@ -67,7 +67,7 @@ const handlerLoading = async (status: number) => { /** mj 按钮 click */ const handlerMjBtnClick = async (button: ImageMjButtonsVO) => { - emits('onMjBtnClick', button) + emits('onMjBtnClick', button, props.imageDetail) } // watch