mirror of https://github.com/allinssl/allinssl
parent
20b0e0c4bd
commit
91e74557aa
|
@ -1,4 +1,6 @@
|
|||
.DS_Store
|
||||
/data/
|
||||
/logs/
|
||||
.idea
|
||||
.idea
|
||||
**/.history
|
||||
**/.vscode
|
|
@ -209,7 +209,7 @@ func notify(params map[string]any) (any, error) {
|
|||
if v, ok := fromNodeData["skip"].(bool); ok && v {
|
||||
// 如果 skip 是 true,则跳过通知
|
||||
var skip bool
|
||||
switch v := fromNodeData["skip"].(type) {
|
||||
switch v := params["skip"].(type) {
|
||||
case int:
|
||||
skip = v == 1
|
||||
case float64:
|
||||
|
|
|
@ -246,7 +246,7 @@ func RunNode(node *WorkflowNode, ctx *ExecutionContext) error {
|
|||
errChan := make(chan error, len(node.ConditionNodes))
|
||||
for _, branch := range node.ConditionNodes {
|
||||
if branch.ChildNode != nil {
|
||||
if branch.ChildNode.ChildNode == nil {
|
||||
if branch.ChildNode.Config == nil {
|
||||
branch.ChildNode.Config = make(map[string]any)
|
||||
}
|
||||
branch.ChildNode.Config["fromNodeData"] = node.Config["fromNodeData"]
|
||||
|
|
Loading…
Reference in New Issue