diff --git a/src/views/task_template/edit.vue b/src/views/task_template/edit.vue index 755d56e..6514909 100644 --- a/src/views/task_template/edit.vue +++ b/src/views/task_template/edit.vue @@ -295,6 +295,9 @@ const setFormData = async (data: Record) => { formData[key] = data[key]; } } + if (formData.type == 32) { + mapShow.value = true; + } }; const getDetail = async (row: Record) => {