fix: can't clear angular-shap g node (#1441)

* [fix] 修复无法真正删除angular-shap g节点

在angular 下,由于覆写了x6/view/view.ts 中的umout, 导致无法真正删除节g点

* [fix] 修复无法真正删除angular-shap g节点
This commit is contained in:
lopn
2021-10-19 16:53:52 +08:00
committed by GitHub
parent 14616ae516
commit 5029308376

View File

@ -67,10 +67,10 @@ export class AngularShapeView extends NodeView<AngularShape> {
return root
}
unmount() {
this.unmountAngularContent()
return this
}
// unmount() {
// this.unmountAngularContent()
// return this
// }
@NodeView.dispose()
dispose() {