Commit 8ab20a4c by maolipeng

fix:错误处理。。。

parent c5e9fc45
...@@ -268,6 +268,9 @@ function CreateWorkWXCourse() { ...@@ -268,6 +268,9 @@ function CreateWorkWXCourse() {
pathname: `/live-course`, pathname: `/live-course`,
}); });
} }
})
.catch((err)=> {
setEnableSubmit(true)
}); });
} else { } else {
if (endTime !== 0) { if (endTime !== 0) {
...@@ -290,6 +293,9 @@ function CreateWorkWXCourse() { ...@@ -290,6 +293,9 @@ function CreateWorkWXCourse() {
pathname: `/live-course`, pathname: `/live-course`,
}); });
} }
})
.catch((err)=> {
setEnableSubmit(true)
}); });
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment