限时修改添加当前时间判断
This commit is contained in:
parent
cca9df8e81
commit
b1d7eca435
@ -133,6 +133,14 @@
|
||||
return
|
||||
}
|
||||
|
||||
if (endDate.value <= new Date().getTime()) {
|
||||
uni.showToast({
|
||||
title: '失效时间需晚于当前时间',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
if (pending.value) {
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user