mirror of
https://github.com/PlayEdu/backend
synced 2025-12-22 23:39:26 +08:00
资源课件编辑组件
This commit is contained in:
@@ -74,9 +74,6 @@ export const CoursewareUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const onFinish = (values: any) => {
|
const onFinish = (values: any) => {
|
||||||
if (loading) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
if (Array.isArray(values.category_id)) {
|
if (Array.isArray(values.category_id)) {
|
||||||
values.category_id = values.category_id[0];
|
values.category_id = values.category_id[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user