From cee4cad32417c3e7fe8f330501b4ac87a42271e6 Mon Sep 17 00:00:00 2001 From: SelfRidicule Date: Wed, 24 Jul 2024 08:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=8F=E8=BF=B0:=E4=BC=9A=E8=AE=AE=E9=A2=84?= =?UTF-8?q?=E7=BA=A6=E6=97=B6=E9=97=B4=E6=94=B9=E4=B8=BA=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meeting/meetingRoom/meetingBooked/meetingBooked.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/miniprogram/pages/meeting/meetingRoom/meetingBooked/meetingBooked.js b/miniprogram/pages/meeting/meetingRoom/meetingBooked/meetingBooked.js index 0ecb4d4..c027391 100644 --- a/miniprogram/pages/meeting/meetingRoom/meetingBooked/meetingBooked.js +++ b/miniprogram/pages/meeting/meetingRoom/meetingBooked/meetingBooked.js @@ -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', });