mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 05:39:38 +08:00
学员列表变化关联部门组件刷新
This commit is contained in:
@@ -11,6 +11,7 @@ interface Option {
|
||||
interface PropInterface {
|
||||
type: string;
|
||||
text: string;
|
||||
refresh: boolean;
|
||||
showNum: boolean;
|
||||
onUpdate: (keys: any, title: any) => void;
|
||||
}
|
||||
@@ -47,7 +48,7 @@ export const TreeDepartment = (props: PropInterface) => {
|
||||
}
|
||||
setLoading(false);
|
||||
});
|
||||
}, []);
|
||||
}, [props.refresh]);
|
||||
|
||||
const checkNewArr = (departments: any[], id: number, counts: any) => {
|
||||
const arr = [];
|
||||
|
||||
Reference in New Issue
Block a user