mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 20:36:45 +08:00
fix:删除12个抽屉的console
This commit is contained in:
@@ -547,14 +547,12 @@ export default {
|
||||
value: "eng",
|
||||
},
|
||||
]);
|
||||
const handleFinish = (values) => {
|
||||
console.log(values);
|
||||
const handleFinish = () => {
|
||||
updateTest();
|
||||
};
|
||||
|
||||
const handleFinishFailed = (errors) => {
|
||||
console.log(errors);
|
||||
// message.error("handleFinishFailed");
|
||||
const handleFinishFailed = () => {
|
||||
message.error("handleFinishFailed");
|
||||
};
|
||||
|
||||
const resetForm = () => {
|
||||
@@ -573,17 +571,14 @@ export default {
|
||||
localStorage.setItem("stageId", props.chooseStageId);
|
||||
localStorage.setItem("chapterId", props.isactive);
|
||||
};
|
||||
const afterVisibleChange = (bool) => {
|
||||
console.log(props.edit);
|
||||
const afterVisibleChange = () => {
|
||||
if (props.addtestVisible && props.edit) {
|
||||
// 该页面显示同时 edit为true 时,发送查询请求,
|
||||
queryTest();
|
||||
}
|
||||
console.log("formState", bool);
|
||||
};
|
||||
const queryTest = () => {
|
||||
state.addLoading = true;
|
||||
console.log(props.EditTestId);
|
||||
queryExaminationDetailById({ examinationId: props.EditTestId })
|
||||
.then((res) => {
|
||||
formState.examinationName = res.data.data.examinationName;
|
||||
@@ -610,7 +605,6 @@ export default {
|
||||
} else {
|
||||
formState.choosedTime = [];
|
||||
}
|
||||
console.log(res);
|
||||
})
|
||||
.catch(() => {
|
||||
message.error(`查询失败`);
|
||||
@@ -672,16 +666,14 @@ export default {
|
||||
type: 5,
|
||||
};
|
||||
RouterEditTask(editObj1)
|
||||
.then((res) => {
|
||||
console.log(` 编辑关卡成功的打印 ${res}`);
|
||||
.then(() => {
|
||||
message.success(`${props.edit ? "编辑" : "新增"}关卡任务成功`);
|
||||
ctx.emit("changeData", false);
|
||||
state.addLoading = false;
|
||||
closeDrawer();
|
||||
})
|
||||
.catch((err) => {
|
||||
.catch(() => {
|
||||
message.error(`${props.edit ? "编辑" : "新增"}关卡任务失败`);
|
||||
console.log(` 编辑关卡失败的打印 ${err}`);
|
||||
});
|
||||
} else if (props.isLevel == 2) {
|
||||
let editObj = {
|
||||
@@ -730,7 +722,6 @@ export default {
|
||||
}
|
||||
};
|
||||
const changeOuter = (value) => {
|
||||
console.log(value);
|
||||
state.isOuter = value;
|
||||
};
|
||||
const chooseTest = (index) => {
|
||||
|
||||
Reference in New Issue
Block a user