diff --git a/src/views/task_template/edit_village.vue b/src/views/task_template/edit_village.vue index 9975e8a..c5bb725 100644 --- a/src/views/task_template/edit_village.vue +++ b/src/views/task_template/edit_village.vue @@ -261,10 +261,6 @@ const formData = reactive({ if (route.query.id) { formData.task_scheduling = route.query.id; } -//任务类型接口 -apiTaskTypeList({ type_value: taskType.value }).then((res) => { - datalist.value = res.lists; -}); // 显示目标数的任务类型 const showTargetTypeList = ["village_task_type_1", "village_task_type_4"]; @@ -471,7 +467,7 @@ const handleSubmit = async () => { const open = (type = "add") => { mode.value = type; popupRef.value?.open(); - // if (type == "edit") { + // if (type == "add") { // apiTaskTypeList({ type_value: taskType.value }).then((res) => { // datalist.value = res.lists; // });