mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 13:09:38 +08:00
1
This commit is contained in:
parent
362b52f70d
commit
a749f02649
@ -108,11 +108,11 @@ Page({
|
||||
let endTime = _this.data.endTime;
|
||||
let paramUrl = "?id=" + id + "&startTime=" + selfFormatTimeYMDHMS(startTime) + "&endTime=" + selfFormatTimeYMDHMS(endTime);
|
||||
|
||||
// 预约时间不能小于1小时
|
||||
if ((1000 * 60 * 60) > (endTime - startTime)) {
|
||||
// 预约时间不能小于30分钟
|
||||
if ((1000 * 60 * 30) > (endTime - startTime)) {
|
||||
Notify({
|
||||
type: 'danger',
|
||||
message: '预约时间不能小于1小时',
|
||||
message: '预约时间不能小于30分钟',
|
||||
duration: 1000,
|
||||
selector: '#notify',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user