diff --git a/src/api/work/work.ts b/src/api/work/work.ts index 03b1812..c3141e8 100644 --- a/src/api/work/work.ts +++ b/src/api/work/work.ts @@ -100,7 +100,9 @@ export async function getPictureSimilarityList(params: PageParam & PictureSortPa taskname: item.fromTaskName, assignee: item.assignee, pictureid: item.pictureid || item.pictureId, - imgurl: item.serverThumbnailUrl, + imgurl: item.imgUrl, + imgUrl: item.imgUrl, + serverThumbnailUrl: item.serverThumbnailUrl, maxSimilarity: item.maxSimilarity, thumburl: item.ocrPicture?.serverThumbnailUrl || item.ocrPicture?.imgurl, iztrueorfalse: item.iztrueorfalse, diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue index 179c3fc..31c7663 100644 --- a/src/views/home/content/Content.vue +++ b/src/views/home/content/Content.vue @@ -141,7 +141,9 @@ useInfiniteScroll( ) onUpdated(() => { - layout() + nextTick(() => { + layout() + }) }) const timeRange = ref('') diff --git a/src/views/worksheet/components/PictureWall.vue b/src/views/worksheet/components/PictureWall.vue index 591d8d1..6bb9a37 100644 --- a/src/views/worksheet/components/PictureWall.vue +++ b/src/views/worksheet/components/PictureWall.vue @@ -22,7 +22,9 @@ import { useDialog, useMessage } from "naive-ui"; import { onMounted, onUnmounted, onUpdated, reactive, ref, toRefs, unref, watch } from "vue"; import ConfrimModal from "../modal/ConfrimModal.vue"; import type { ApprovalParam, SimilarityPictureSortParam } from "/#/api"; +import bgLoading from '@/assets/images/bg-loading.png'; +const bgLoadingImg = ref(bgLoading) const props = defineProps({ taskDetailInfo: { type: Object, @@ -333,7 +335,7 @@ onUnmounted(() => {
-
+
diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index 388bc17..0ac27c8 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -147,6 +147,7 @@ async function loadMore() { const more = await featchList() listData.value.push(...more) + console.log("listData.value11111111111111111", listData.value); } async function featchList() { @@ -834,7 +835,7 @@ defineExpose({ >