Skip to content

Bug: Guard simulation cannot run normally #241

@1136665827

Description

@1136665827

Description

{
  target: 'step2',
  guard: and([
    {
      type: 'checkStep',
      params: { step: 2 }
    },
    {
      type: 'combinationFist',
      params: { objName: 'xxxxx' }
    },
    'nowStepEqualParams'
  ])
},
{
  target: 'step5',
  guard: and([
    {
      type: 'checkStep',
      params: { step: 5 }
    },
    {
      type: 'combinationFist',
      params: { objName: 'xxxx' }
    },
    'nowStepEqualParams'
  ])
},

When I use Guard, an error message appears in the editor stating 'Found 2 guards named' inline: [id] '. Watt # start [-1] # guard ", simulation cannot run normally.

Expected result

image

Actual result

No matter which path I choose, it will jump to step 2。
image

Which browsers are you seeing the problem on?

No response

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions