From 19b2583c570075a4174b9ab503f50188b43918c1 Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Fri, 24 Oct 2025 16:01:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E5=9B=BA=E5=AE=9A=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E6=9B=BF=E6=8D=A2=E4=B8=BA=E5=8A=A8=E6=80=81=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E6=9C=80=E8=BF=917=E5=A4=A9=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/realtimeInfo/indexRelease.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/realtimeInfo/indexRelease.vue b/src/pages/realtimeInfo/indexRelease.vue index 43e5dce..307e1bd 100644 --- a/src/pages/realtimeInfo/indexRelease.vue +++ b/src/pages/realtimeInfo/indexRelease.vue @@ -260,8 +260,8 @@ async function getLineDataFn() { if (lineTabIndex.value == 0) { // 行业 getTopIndustryPeriod({ - start_time: "2025-09-06", - end_time: "2025-09-13", + start_time: dayjs().subtract(7, 'day').format("YYYY-MM-DD"), + end_time: dayjs().format("YYYY-MM-DD"), limit_num: 10, }).then((res) => { lineTopData.value = res; @@ -269,8 +269,8 @@ async function getLineDataFn() { } else if (lineTabIndex.value == 1) { // 概念 getTopConceptPeriod({ - start_time: "2025-09-06", - end_time: "2025-09-13", + start_time: dayjs().subtract(7, 'day').format("YYYY-MM-DD"), + end_time: dayjs().format("YYYY-MM-DD"), limit_num: 10, }).then((res) => { lineTopData.value = res; @@ -278,8 +278,8 @@ async function getLineDataFn() { } else if (lineTabIndex.value == 2) { // 媒体 getTopSourcePeriod({ - start_time: "2025-09-06", - end_time: "2025-09-13", + start_time: dayjs().subtract(7, 'day').format("YYYY-MM-DD"), + end_time: dayjs().format("YYYY-MM-DD"), limit_num: 10, }).then((res) => { lineTopData.value = res;