From b4662a2b1061004e8a3e521b5ca9f8247cb995e9 Mon Sep 17 00:00:00 2001
From: huang <1724659546@qq.com>
Date: Fri, 31 Oct 2025 22:01:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AEbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/PlanForm.vue | 4 ++--
src/views/plan/PlanList.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
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 @@
- 手动
+ 手动
自动(无限执行)
自动({{ scope.row.execute_num }}次)