mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 13:09:55 +08:00
学员添加、编辑优化以及删除弹窗文案优化
This commit is contained in:
@@ -39,7 +39,7 @@ export const CourseHourUpdate: React.FC<PropInterface> = ({
|
||||
return;
|
||||
}
|
||||
getDetail();
|
||||
}, [id]);
|
||||
}, [id, open]);
|
||||
|
||||
const getDetail = () => {
|
||||
course.course(id).then((res: any) => {
|
||||
|
||||
@@ -51,7 +51,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
||||
return;
|
||||
}
|
||||
getCategory();
|
||||
}, [id]);
|
||||
}, [id, open]);
|
||||
|
||||
const getCategory = () => {
|
||||
course.createCourse().then((res: any) => {
|
||||
|
||||
Reference in New Issue
Block a user