mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-06 02:11:56 +00:00
feat: 增加 node#remove
This commit is contained in:
parent
7df2d153f2
commit
befc669f99
@ -379,4 +379,11 @@ export default class Node {
|
||||
hover(flag = true) {
|
||||
this[nodeSymbol].hover(flag);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除当前节点实例
|
||||
*/
|
||||
remove() {
|
||||
this[nodeSymbol].remove();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user