From b1b6d73082b25db78d5664af164909b277aa95d7 Mon Sep 17 00:00:00 2001 From: lihui_ocr Date: Thu, 30 May 2024 14:07:59 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/final/content/ListContent.vue | 2 +- src/views/home/aside/Aside.vue | 7 +++++-- src/views/home/content/Content.vue | 24 +++++++++--------------- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/src/views/final/content/ListContent.vue b/src/views/final/content/ListContent.vue index c9e3656..19ad01e 100644 --- a/src/views/final/content/ListContent.vue +++ b/src/views/final/content/ListContent.vue @@ -747,7 +747,7 @@ defineExpose({ " @click="goDetail(item)" > -
+
{{ `${item.similarityscore}` }} diff --git a/src/views/home/aside/Aside.vue b/src/views/home/aside/Aside.vue index 3169001..15fd531 100644 --- a/src/views/home/aside/Aside.vue +++ b/src/views/home/aside/Aside.vue @@ -109,8 +109,11 @@ useWindowSizeFn(computeSlideHeight, 280) onBeforeMount(async () => { console.log(configStore) if(typeof configStore.fetchConfig === 'function'){ - configStore.fetchConfig() + setTimeout(()=>{ + configStore.fetchConfig() configStore.fetchCustomConfig() + },1500) + }else{ location.reload(); } @@ -264,7 +267,7 @@ async function filterHandler(searchId: string) { let currentDate = new Date(); // 前推30天 let pastDate = new Date(); -pastDate.setDate(currentDate.getDate() - 30); +pastDate.setDate(currentDate.getDate() - 91); arr[0]=pastDate.getTime(); res.data.izyear=arr } diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue index 120778f..056bd88 100644 --- a/src/views/home/content/Content.vue +++ b/src/views/home/content/Content.vue @@ -959,14 +959,12 @@ defineExpose({