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 @@
- +