From b91e1b2e49d1039af5fd29cf3b64b41badd5db06 Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Thu, 5 Sep 2024 10:21:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=88=BF=E5=9E=8B?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E4=BD=BF=E7=94=A8=E8=A1=A8=E5=8D=95=E6=97=A5?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/hotel/Detail.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/views/hotel/Detail.jsx b/web/src/views/hotel/Detail.jsx index 2408ae9..bcd1c83 100644 --- a/web/src/views/hotel/Detail.jsx +++ b/web/src/views/hotel/Detail.jsx @@ -51,7 +51,10 @@ function Detail() { // }) setLoading(true) - getRoomListByHotel(hotelId, checkin, checkout, formValue.adultCount, formValue.roomCount) + getRoomListByHotel(hotelId, + formValue.dataRange[0].format('YYYY-MM-DD'), + formValue.dataRange[1].format('YYYY-MM-DD'), + formValue.adultCount, formValue.roomCount) .finally(() => setLoading(false)) }