Skip to content

Commit 191e284

Browse files
committed
fix: The outline tree does not display the loop flag when the loop is an empty array
1 parent 3c798f0 commit 191e284

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)