修bug
This commit is contained in:
		| @@ -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 = ''; | ||||
|             } | ||||
|   | ||||
| @@ -55,7 +55,7 @@ | ||||
|         <el-table-column prop="description" label="计划描述" min-width="150"/> | ||||
|         <el-table-column prop="execution_type" label="执行类型" min-width="150" sortable="custom"> | ||||
|           <template #default="scope"> | ||||
|             <el-tag v-if="scope.row.execution_type === 'manual'">手动</el-tag> | ||||
|             <el-tag v-if="scope.row.execution_type === '手动'">手动</el-tag> | ||||
|             <el-tag v-else-if="scope.row.execute_num === 0" type="success">自动(无限执行)</el-tag> | ||||
|             <el-tag v-else type="warning">自动({{ scope.row.execute_num }}次)</el-tag> | ||||
|           </template> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user