fix model workflow_draft_variables duplicate app_id set. (#19949)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
@@ -947,7 +947,6 @@ class WorkflowDraftVariable(Base):
|
|||||||
variable.app_id = app_id
|
variable.app_id = app_id
|
||||||
variable.node_id = node_id
|
variable.node_id = node_id
|
||||||
variable.name = name
|
variable.name = name
|
||||||
variable.app_id = app_id
|
|
||||||
variable.set_value(value)
|
variable.set_value(value)
|
||||||
variable._set_selector(list(variable_utils.to_selector(node_id, name)))
|
variable._set_selector(list(variable_utils.to_selector(node_id, name)))
|
||||||
return variable
|
return variable
|
||||||
|
Reference in New Issue
Block a user