From befc8453d2ed5b289c62559f6b58a3a4352a4264 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Mon, 15 Dec 2025 15:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96validatorTimeGTCurrentDay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/index.js b/utils/index.js index 1adbf1a..c6687cd 100644 --- a/utils/index.js +++ b/utils/index.js @@ -530,7 +530,7 @@ export const validatorEndTime = (timeStart, message = "结束时间不能早于 export const validatorTimeGTCurrentDay = (message = "需要大于当前时间") => { return { validator: (_, value) => { - if (value && value <= dayjs().format("YYYY-MM-DD hh:mm:ss")) { + if (value && value <= dayjs().format("YYYY-MM-DD HH:mm:ss")) { return Promise.reject(message); } else {