Skip to content

Commit 9362280

Browse files
DymoneLewisboyongjiong
authored andcommitted
fix(react-node-registry): 还原错误注释的代码
1 parent 791e611 commit 9362280

File tree

1 file changed

+4
-4
lines changed
  • packages/react-node-registry/src

1 file changed

+4
-4
lines changed

packages/react-node-registry/src/view.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ export class ReactNodeView extends HtmlNode {
2525
rootEl.appendChild(el)
2626
}
2727

28-
// confirmUpdate(_rootEl: SVGForeignObjectElement) {
29-
// // TODO: 如有需要,可以先通过继承的方式,自定义该节点的更新逻辑;我们后续会根据实际需求,丰富该功能
30-
// // console.log('_rootEl', _rootEl)
31-
// }
28+
confirmUpdate(_rootEl: SVGForeignObjectElement) {
29+
// TODO: 如有需要,可以先通过继承的方式,自定义该节点的更新逻辑;我们后续会根据实际需求,丰富该功能
30+
console.log('_rootEl', _rootEl)
31+
}
3232

3333
protected renderReactComponent(container: HTMLElement) {
3434
this.unmountReactComponent()

0 commit comments

Comments
 (0)