mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 14:56:46 +08:00
修复提示请选中关卡问题
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user