Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -945,6 +945,10 @@ onMounted(async () => { | ... | @@ -945,6 +945,10 @@ onMounted(async () => { |
| 945 | value: String(value) // 确保值为字符串类型 | 945 | value: String(value) // 确保值为字符串类型 |
| 946 | })); | 946 | })); |
| 947 | 947 | ||
| 948 | + // 初始化周期选择 | ||
| 949 | + formData.value.cycle_text = cycleOptions.value[0].text; | ||
| 950 | + formData.value.cycle = cycleOptions.value[0].value; | ||
| 951 | + | ||
| 948 | // 处理作业类型数据 | 952 | // 处理作业类型数据 |
| 949 | if (data.task_attachment_type) { | 953 | if (data.task_attachment_type) { |
| 950 | attachmentTypeOptions.value = Object.entries(data.task_attachment_type).map(([key, value]) => ({ | 954 | attachmentTypeOptions.value = Object.entries(data.task_attachment_type).map(([key, value]) => ({ | ... | ... |
-
Please register or login to post a comment