限时修改添加当前时间判断

This commit is contained in:
范鹏 2025-02-18 09:31:54 +08:00
parent cca9df8e81
commit b1d7eca435

View File

@ -133,6 +133,14 @@
return
}
if (endDate.value <= new Date().getTime()) {
uni.showToast({
title: '失效时间需晚于当前时间',
icon: 'none'
})
return
}
if (pending.value) {
return
}