mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
node 新增 api: getAddonData
This commit is contained in:
parent
41eebd4027
commit
4bbee86408
@ -595,6 +595,10 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
||||
}
|
||||
return { container: this.parent, ref: this };
|
||||
}
|
||||
|
||||
getAddonData(key: string) {
|
||||
return this.getExtraProp(key)?.value;
|
||||
}
|
||||
}
|
||||
|
||||
export interface ParentalNode<T extends NodeSchema = NodeSchema> extends Node<T> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user