描述:会议预约时间改为分钟

This commit is contained in:
SelfRidicule 2024-07-24 08:55:19 +08:00
parent c41755fe5b
commit cee4cad324

View File

@ -29,9 +29,9 @@ Page({
showTime: false,
dataList: [],
filterTime(type, options) {
if (type === 'minute') {
return options.filter((option) => option == '00');
}
// if (type === 'minute') {
// return options.filter((option) => option == '00');
// }
return options;
},
},
@ -68,10 +68,10 @@ Page({
let paramUrl = "?meetingRoomId=" + meetingRoomId + "&startTime=" + selfFormatTimeYMDHMS(startTime) + "&endTime=" + selfFormatTimeYMDHMS(endTime);
// 预约时间不能小于1小时
if ((1000 * 60 * 60) > (endTime - startTime)) {
if ((1000 * 60 * 1) > (endTime - startTime)) {
Notify({
type: 'danger',
message: '预约时间不能小于1小时',
message: '预约时间不能小于1分钟',
duration: 1000,
selector: '#notify',
});