技术部学习进度部门title刷新优化

This commit is contained in:
禺狨 2023-04-25 11:30:29 +08:00
parent a656f21cbc
commit 096466633f

View File

@ -53,8 +53,9 @@ const MemberDepartmentProgressPage = () => {
useEffect(() => {
setDid(Number(result.get("id")));
setTitle(String(result.get("title")));
resetData();
}, [Number(result.get("id"))]);
}, [result.get("id"), result.get("title")]);
useEffect(() => {
getData();