Match-id-706e1c5d83ec5e03eb89bbbe0d2be5fd18b586e1

This commit is contained in:
* 2022-02-17 20:23:48 +08:00 committed by *
parent 3a242e7921
commit 24d53da4d6
2 changed files with 1 additions and 1 deletions

View File

@ -136,6 +136,7 @@ export class VNode {
case LazyComponent: case LazyComponent:
this.realNode = null; this.realNode = null;
this.stateCallbacks = null; this.stateCallbacks = null;
this.isLazyComponent = true;
break; break;
case Fragment: case Fragment:
break; break;

View File

@ -134,7 +134,6 @@ export function createUndeterminedVNode(type, key, props) {
vNode.shouldUpdate = true; vNode.shouldUpdate = true;
if (isLazy) { if (isLazy) {
vNode.isLazyComponent = isLazy;
vNode.lazyType = type; vNode.lazyType = type;
} }
return vNode; return vNode;