This commit is contained in:
JyuHsin
2025-05-12 15:06:56 +08:00
parent 80be1a72f3
commit 568f3eec18
5 changed files with 15 additions and 12 deletions
@@ -626,7 +626,7 @@ layout("/layouts/platform.html"){
}
const s = this.formData.time.split('-')[0]
const e = this.formData.time.split('-')[1]
if (moment().unix() >= moment(this.formData.reserve_day + ' ' + e + ':00').unix()) {
if (moment().unix() >= moment(this.dayArray[0] + ' ' + e + ':00').unix()) {
this.$message.warning('您预约的时间段已过')
return
}