Match-id-873a6fdcfff71a095adeec6085ceac6928f62d4d

This commit is contained in:
* 2022-04-27 16:00:33 +08:00 committed by *
parent 90ab25303d
commit 1b6652bb5a
1 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,10 @@ export function clearVNode(vNode: VNode) {
vNode.toUpdateNodes = null; vNode.toUpdateNodes = null;
vNode.belongClassVNode = null; vNode.belongClassVNode = null;
if (window.__HORIZON_DEV_HOOK__) {
const hook = window.__HORIZON_DEV_HOOK__;
hook.delete(vNode);
}
} }
// 是dom类型的vNode // 是dom类型的vNode