修复提示请选中关卡问题

This commit is contained in:
zhangyc
2022-12-14 14:09:01 +08:00
parent 8310728551
commit 233d334840
13 changed files with 104 additions and 96 deletions

View File

@@ -191,11 +191,12 @@ export default {
}
};
const updateTask = async (res) => {
if(!props.isactive){
if (props.isLevel == 1) {
if(!props.isactive){
message.destroy();
return message.warning("请先选中关卡");
}
if (props.isLevel == 1) {
await RouterEditTask({
chapterId: props.isactive,
courseId: res.data.data.discussId,