From 943a7224e0f84a30b30b50ff56901829b710bfe5 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 20 Oct 2023 18:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9D=91=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=9B=AE=E6=A0=87=E6=95=B0=E6=95=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task_template/edit_village.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; // });