From 4b3b8d832375ccdaa1a5be5eb47f28711f4216af Mon Sep 17 00:00:00 2001 From: xingjx Date: Mon, 23 Oct 2023 10:22:54 +0800 Subject: [PATCH] =?UTF-8?q?fix():=E4=BF=AE=E6=94=B9=E8=AE=A1=E8=B4=B9?= =?UTF-8?q?=E8=A7=84=E5=88=99=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=89=93=E5=BC=80=E5=BC=82=E5=B8=B8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/Detail.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/Detail.jsx b/src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/Detail.jsx index 932f20b..e2eaa8d 100644 --- a/src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/Detail.jsx +++ b/src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/Detail.jsx @@ -18,6 +18,7 @@ function Detail(props) { const { record, visible = false, close = () => {} } = props; const [form] = Form.useForm(); const [effectiveDateList, setEffectiveDateList] = useState(record.property); + console.log(effectiveDateList) useEffect(() => { setEffectiveDateList(record.property); console.log(record.property); @@ -84,11 +85,10 @@ function Detail(props) { - {effectiveDateList && - effectiveDateList?.map((item, index) => { - console.log(item); - return ; - })} + {/* {effectiveDateList && + effectiveDateList.time_part_arr?.map((item, index) => { + console.log(item); */} + );