Merge pull request 'anln' (#88) from anln into main

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/88
This commit is contained in:
yezian 2024-07-01 20:50:52 +08:00
commit 971bdb6785
1 changed files with 2 additions and 2 deletions

View File

@ -21,12 +21,12 @@ 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({