From 918f35f8249662f5be4354e76794ff1b9677d266 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Wed, 19 Jun 2024 10:44:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91element=20?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=20LoadingOptionsResolved?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/image/ImageTask.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/ai/image/ImageTask.vue b/src/views/ai/image/ImageTask.vue index 3a8ccb80..d458db00 100644 --- a/src/views/ai/image/ImageTask.vue +++ b/src/views/ai/image/ImageTask.vue @@ -29,7 +29,7 @@ import {ImageApi, ImageDetailVO, ImageMjActionVO, ImageMjButtonsVO} from '@/api/ai/image'; import ImageDetailDrawer from './ImageDetailDrawer.vue' import ImageTaskCard from './ImageTaskCard.vue' -import {ElLoading} from "element-plus"; +import {ElLoading, LoadingOptionsResolved} from "element-plus"; const message = useMessage() // 消息弹窗 @@ -63,7 +63,7 @@ const getImageList = async (apply:boolean = false) => { imageTaskLoadingInstance.value = ElLoading.service({ target: imageTaskRef.value, text: '加载中...' - }) + } as LoadingOptionsResolved) const { list, total } = await ImageApi.getImageList({pageNo: pageNo.value, pageSize: pageSize.value}) if (apply) { imageList.value = [...imageList.value, ...list]