将预定时间限制取消

This commit is contained in:
wangxiaowei
2025-12-25 14:46:50 +08:00
parent 2e61a619d3
commit 1a6963f0c5

View File

@ -141,10 +141,10 @@
return return
} }
if (countSelectedTime.value < props.day.minimum_time) { // if (countSelectedTime.value < props.day.minimum_time) {
toast.info(props.day.minimum_time + '小时起订') // toast.info(props.day.minimum_time + '小时起订')
return // return
} // }
// 返回所有已选的时间段含日期、时间、timestamp及所有timestamp数组 // 返回所有已选的时间段含日期、时间、timestamp及所有timestamp数组
const sortedSelected = selectedTime.value.slice().sort((a, b) => a.timestamp - b.timestamp) const sortedSelected = selectedTime.value.slice().sort((a, b) => a.timestamp - b.timestamp)