mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
修复提示请选中关卡问题
This commit is contained in:
@@ -177,11 +177,12 @@ export default {
|
||||
};
|
||||
//向关卡或阶段渲染
|
||||
const updateTask = async (value) => {
|
||||
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: Number(value.evaluationId),
|
||||
|
||||
Reference in New Issue
Block a user