fix: quickSearch error

This commit is contained in:
弱冠 2020-05-08 19:58:43 +08:00
parent a73a82e063
commit a8009ef718

View File

@ -711,6 +711,14 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
return this.document.simulator?.computeRect(this) || null; return this.document.simulator?.computeRect(this) || null;
} }
getPrototype() {
return this;
}
getIcon() {
return this.icon;
}
toString() { toString() {
return this.id; return this.id;
} }