始终选中一个关卡

This commit is contained in:
zhangyc
2022-12-12 18:16:12 +08:00
parent 8b14710d9d
commit adb22f6d0e
26 changed files with 252 additions and 52 deletions

View File

@@ -177,6 +177,10 @@ export default {
};
//向关卡或阶段渲染
const updateTask = async (value) => {
if(!props.isactive){
message.destroy();
return message.warning("请先选中关卡");
}
if (props.isLevel == 1) {
await RouterEditTask({
chapterId: props.isactive,