From 18d575512d3da477cef685c36211a08037e52b63 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Tue, 3 Dec 2024 11:23:54 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20action=E8=8A=82=E7=82=B9=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=B1=BB=E5=9E=8B=E5=92=8C=E9=93=BE=E6=8E=A5=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/action/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/action/node.rb b/app/models/action/node.rb index 3ce092fd2..072089835 100644 --- a/app/models/action/node.rb +++ b/app/models/action/node.rb @@ -42,7 +42,7 @@ class Action::Node < ApplicationRecord validates :description, length: { maximum: 65535, too_long: "不能超过65535个字符"} # type 0: 触发器 1: 任务作业, 2: 步骤 - enum type: {trigger: 0, job: 1, step: 2} + enum type: {start: 0, job: 1, step: 2} def content_yaml