Skip to content

Commit

Permalink
Merge pull request #53 from alibaba/feat/hasLoop
Browse files Browse the repository at this point in the history
fix: The outline tree does not display the loop flag when the loop is…
  • Loading branch information
LeoYuan authored Mar 1, 2022
2 parents f8cfdbb + ded3bfa commit 71bb288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/designer/src/document/node/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
return false;
}

if (Array.isArray(value) && value.length > 0) {
if (Array.isArray(value)) {
return true;
}
if (isJSExpression(value)) {
Expand Down

0 comments on commit 71bb288

Please sign in to comment.