mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed 节点增加属性,节点名称带上id
This commit is contained in:
@@ -38,7 +38,7 @@ class Action::Node < ApplicationRecord
|
||||
|
||||
belongs_to :user, optional: true
|
||||
|
||||
attr_accessor :cust_name, :run_values, :input_values, :sub_nodes
|
||||
attr_accessor :cust_name, :run_values, :input_values, :sub_nodes, :link_type_array, :node_id
|
||||
|
||||
validates :name, presence: { message: "不能为空" }
|
||||
validates :full_name, length: { maximum: 200, too_long: "不能超过200个字符" }
|
||||
|
||||
Reference in New Issue
Block a user