mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 00:19:36 +08:00
描述:会议预约时间改为分钟
This commit is contained in:
parent
c41755fe5b
commit
cee4cad324
@ -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',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user