mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 05:39:38 +08:00
去除loading的timeout
This commit is contained in:
@@ -26,9 +26,7 @@ export const TreeDepartment = (props: PropInterface) => {
|
||||
},
|
||||
];
|
||||
setTreeData(new_arr);
|
||||
setTimeout(() => {
|
||||
setLoading(false);
|
||||
}, 1000);
|
||||
setLoading(false);
|
||||
});
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user