线上课课件、课时编辑页刷新数据

This commit is contained in:
unknown
2023-08-02 09:21:21 +08:00
parent 54b55d8424
commit d9f3f27d11
2 changed files with 10 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ export const CourseAttachmentUpdate: React.FC<PropInterface> = ({
if (id === 0) {
return;
}
setAttachmentVisible(false);
setAttachmentData([]);
setAttachments([]);
getDetail();
}, [id, open]);