docs icon indicating copy to clipboard operation
docs copied to clipboard

Guard simulation cannot run normally

Open 1136665827 opened this issue 7 months ago • 0 comments

{
  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. No matter which path I choose, it will jump to step 2。

1136665827 avatar Jul 24 '24 06:07 1136665827