From 5353531e8b6547ee4322ab4c32a5e863451ea0ce Mon Sep 17 00:00:00 2001 From: cherishsince Date: Mon, 27 May 2024 17:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91Image=20tas?= =?UTF-8?q?k=20=E5=A2=9E=E5=8A=A0=E5=85=B3=E8=81=94=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E7=94=A8?= 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 50a2a7ad..e89e4a0b 100644 --- a/src/views/ai/image/ImageTask.vue +++ b/src/views/ai/image/ImageTask.vue @@ -14,7 +14,6 @@ import {ImageApi, ImageDetailVO} from '@/api/ai/image'; import ImageDetailDrawer from './ImageDetailDrawer.vue' import ImageTaskCard from './ImageTaskCard.vue' -import {Delete, Download, More} from "@element-plus/icons-vue"; import {bool} from "vue-types"; const imageList = ref([]) // image 列表 @@ -45,7 +44,8 @@ const handlerDrawerOpen = async () => { * 获取 - image 列表 */ const getImageList = async () => { - imageList.value = await ImageApi.getImageList({pageNo: 1, pageSize: 20}) + const { list } = await ImageApi.getImageList({pageNo: 1, pageSize: 20}) + imageList.value = list } /** diff --git a/src/views/ai/image/ImageTaskCard.vue b/src/views/ai/image/ImageTaskCard.vue index 2abae561..e8a73db9 100644 --- a/src/views/ai/image/ImageTaskCard.vue +++ b/src/views/ai/image/ImageTaskCard.vue @@ -12,7 +12,7 @@
- +