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