mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
fix: NodeChildren伪装为Array保证向前兼容
This commit is contained in:
parent
11917f1525
commit
7950bf5637
@ -285,4 +285,9 @@ export class NodeChildren {
|
||||
this.purged = true;
|
||||
this.children.forEach(child => child.purge());
|
||||
}
|
||||
|
||||
get [Symbol.toStringTag]() {
|
||||
// 保证向前兼容性
|
||||
return "Array";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user