From 865c0f07cac86dc3a6897558bb96f957bdfd3641 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Thu, 16 Jan 2025 18:28:58 +0800 Subject: [PATCH] fix tid1803 time --- src/subpackage/verification/pages/record.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/subpackage/verification/pages/record.vue b/src/subpackage/verification/pages/record.vue index 52cb385..24d26c9 100644 --- a/src/subpackage/verification/pages/record.vue +++ b/src/subpackage/verification/pages/record.vue @@ -78,11 +78,13 @@ export default { let { periodStr } = this; return periodStr ? periodStr.replace(/\_/, ' 至 ').replace(/\-/g, '.') : '' }, - // 时间段对象 + // 时间段对象 用于请求 periodObj(){ let { periodStr } = this; if(!periodStr)return {}; let [start, end] = periodStr.split('_'); + if(start)start += ' 00:00:00'; + if(end)end += ' 23:59:59'; return { start: start ?? '', end: end ?? '',