fix: 解决房型没有使用表单日期

main
Jimmy Liow 10 months ago
parent e12bb672a3
commit b91e1b2e49

@ -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))
}

Loading…
Cancel
Save