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 {