将预定时间限制取消
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user