From 114245ad4b6d13f1c2910bffa4b8bcc6c634419f Mon Sep 17 00:00:00 2001 From: xingjx Date: Mon, 18 Dec 2023 00:40:36 +0800 Subject: [PATCH] =?UTF-8?q?fix():bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ParkingBusinessAly/ParkingAlyPeriod/loadable.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyPeriod/loadable.jsx b/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyPeriod/loadable.jsx index aead4f8..fbc623a 100644 --- a/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyPeriod/loadable.jsx +++ b/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyPeriod/loadable.jsx @@ -333,13 +333,14 @@ function ParkingAlyPeriod() { .catch((err) => console.error(err)); } function getParkingData(data) { + setHourData({}) ajax .getParkingAlyPeriodParkLine(data) .then((res) => { if (res.status === 20000) { getParkOption(res.data.list?.area_list); setKeyVal(res.data.list?.hour_list.length) - setHourData({}) + //setHourData({}) getParkOptionHour(res.data.list?.hour_list); } })