From 9a8b741a21ca5b1f1e81d56423894831150f178b Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Thu, 11 Jul 2024 19:32:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=B0=83=E6=95=B4=E4=B8=80?= =?UTF-8?q?=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AppHourSale.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/AppHourSale.vue b/src/views/AppHourSale.vue index 96496dd..0f1298b 100644 --- a/src/views/AppHourSale.vue +++ b/src/views/AppHourSale.vue @@ -77,7 +77,7 @@ export default { })).then(res => { if (res?.data) { this.summary = res.data.total - this.tableData = res.data?.page?.records?.map(e => ({...e, hour: `${`${e.hour - 1}`.padStart(2, '0')}:00-${e.hour.padStart(2, '0')}:00`})) || [] + this.tableData = res.data?.page?.records?.map(e => ({...e, hour: `${e.hour.padStart(2, '0')}:00-${`${Number(e.hour)+1}`.padStart(2, '0')}:00`})) || [] } }) },