From 54dad4cc4a4386d9dc46a280b7497eadc8376604 Mon Sep 17 00:00:00 2001 From: al Date: Mon, 1 Jul 2024 20:49:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/bill/[type]/income_querry/page.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/bill/[type]/income_querry/page.jsx b/app/bill/[type]/income_querry/page.jsx index 869f2c6..375f607 100644 --- a/app/bill/[type]/income_querry/page.jsx +++ b/app/bill/[type]/income_querry/page.jsx @@ -21,16 +21,17 @@ export default function IncomeQuerry({ children }) { if(databoard.current&&data.week_dashboard){ createDataBoard(data.week_dashboard); } - }, [databoard.current]); + }, [databoard.current,data]); useEffect(() => { if(incomeOrgin.current && data.income_from_dashboard){ createIncomeOrgin(data.income_from_dashboard); } - }, [incomeOrgin.current]); + }, [incomeOrgin.current,data]); const getData = async () => { const base = webviewBaseRequest(); const signature = generateSignature({ ...base, + b_mid:182308 }); try { const response = await fetch( @@ -42,6 +43,7 @@ export default function IncomeQuerry({ children }) { }, body: JSON.stringify({ ...base, + b_mid:182308 }), } ); From 5ef978bd04dcb1a952f41bd64cb4ecd1d5cd5d8f Mon Sep 17 00:00:00 2001 From: al Date: Mon, 1 Jul 2024 20:50:16 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/bill/[type]/income_querry/page.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/bill/[type]/income_querry/page.jsx b/app/bill/[type]/income_querry/page.jsx index 375f607..f8b99ab 100644 --- a/app/bill/[type]/income_querry/page.jsx +++ b/app/bill/[type]/income_querry/page.jsx @@ -31,7 +31,6 @@ export default function IncomeQuerry({ children }) { const base = webviewBaseRequest(); const signature = generateSignature({ ...base, - b_mid:182308 }); try { const response = await fetch( @@ -43,7 +42,6 @@ export default function IncomeQuerry({ children }) { }, body: JSON.stringify({ ...base, - b_mid:182308 }), } );