From f4f1508e39c9ff398fdbe6d6f2093666dc34d4b5 Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 8 Aug 2025 11:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/components/TimePointPicker.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sheep/components/TimePointPicker.vue b/src/sheep/components/TimePointPicker.vue index f9e868b..e14c6d9 100644 --- a/src/sheep/components/TimePointPicker.vue +++ b/src/sheep/components/TimePointPicker.vue @@ -18,7 +18,7 @@ :key="index" @click="selectTimePoint(item, index)" > - {{ item }} + {{ item.slice(0, 5) }} @@ -58,10 +58,10 @@ const getLast7DaysWeek = (): { week: string; date: string; fullDate: string }[] const dayTimePointList = computed(() => { const times: string[] = [] for (let i = 8; i < 18; i++) { - times.push(`${i.toString().padStart(2, "0")}:00`) - times.push(`${i.toString().padStart(2, "0")}:30`) + times.push(`${i.toString().padStart(2, "0")}:00:00`) + times.push(`${i.toString().padStart(2, "0")}:30:00`) } - times.push("18:00") // 添加18:00作为结束时间 + times.push("18:00:00") // 添加18:00作为结束时间 return times })