【解决todo】get 轮训,临时提交

This commit is contained in:
cherishsince
2024-06-27 18:11:22 +08:00
parent 7fe8b8b7a9
commit 14c9e33b60

View File

@ -34,6 +34,7 @@ import {ElLoading, LoadingOptionsResolved} from "element-plus";
const message = useMessage() // 消息弹窗
const imageList = ref<ImageDetailVO[]>([]) // image 列表
const watchImageList = ref<ImageDetailVO[]>([]) // 监听的 image list一般是生成中需要轮训
const imageListInterval = ref<any>() // image 列表定时器,刷新列表
const isShowImageDetail = ref<boolean>(false) // 是否显示 task 详情
const showImageDetailId = ref<number>(0) // 是否显示 task 详情
@ -83,7 +84,6 @@ const getImageList = async (apply:boolean = false) => {
const handlerImageBtnClick = async (type, imageDetail: ImageDetailVO) => {
// 获取 image detail id
showImageDetailId.value = imageDetail.id
console.log('type', imageDetail.id)
// 处理不用 btn
if (type === 'more') {
await handlerDrawerOpen()