diff --git a/src/components/PlanForm.vue b/src/components/PlanForm.vue index 064b3f68..1d2cb675 100644 --- a/src/components/PlanForm.vue +++ b/src/components/PlanForm.vue @@ -145,7 +145,7 @@ export default { // 处理执行方式变更 const handleExecutionTypeChange = (value) => { // 如果切换为手动执行,清空执行次数和cron表达式 - if (value === 'manual') { + if (value === '手动') { formData.execute_num = 0; formData.cron_expression = ''; } else { @@ -178,7 +178,7 @@ export default { } // 如果是手动执行,清除执行次数和cron表达式 - if (formData.execution_type === 'manual') { + if (formData.execution_type === '手动') { submitData.execute_num = 0; submitData.cron_expression = ''; } diff --git a/src/views/plan/PlanList.vue b/src/views/plan/PlanList.vue index 6dd3d4b9..d7118d9f 100644 --- a/src/views/plan/PlanList.vue +++ b/src/views/plan/PlanList.vue @@ -55,7 +55,7 @@