mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix: The outline tree does not display the loop flag when the loop is an empty array
This commit is contained in:
parent
3c798f0d4a
commit
191e284f2f
@ -521,7 +521,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Array.isArray(value) && value.length > 0) {
|
if (Array.isArray(value)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (isJSExpression(value)) {
|
if (isJSExpression(value)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user