Skip to content

Commit 71bb288

Browse files
authored
Merge pull request alibaba#53 from alibaba/feat/hasLoop
fix: The outline tree does not display the loop flag when the loop is…
2 parents f8cfdbb + ded3bfa commit 71bb288

File tree

1 file changed

+1
-1
lines changed
  • packages/designer/src/document/node

1 file changed

+1
-1
lines changed

packages/designer/src/document/node/node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
521521
return false;
522522
}
523523

524-
if (Array.isArray(value) && value.length > 0) {
524+
if (Array.isArray(value)) {
525525
return true;
526526
}
527527
if (isJSExpression(value)) {

0 commit comments

Comments
 (0)