mirror of
https://github.com/PlayEdu/backend
synced 2025-12-25 17:49:30 +08:00
添加、创建相关api请求逻辑优化
This commit is contained in:
@@ -57,8 +57,10 @@ export const CourseCreate: React.FC<PropInterface> = ({
|
||||
const [addvideoCurrent, setAddvideoCurrent] = useState(0);
|
||||
|
||||
useEffect(() => {
|
||||
getParams();
|
||||
getCategory();
|
||||
if (open) {
|
||||
getParams();
|
||||
getCategory();
|
||||
}
|
||||
}, [open, cateIds, depIds]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user