Match-id-9301db1f5ae58c6e7f046efc003b8dff452d0a82

This commit is contained in:
* 2022-02-17 14:44:06 +08:00 committed by *
parent b55ab599b2
commit 08295b4fb4
1 changed files with 1 additions and 3 deletions

View File

@ -66,9 +66,7 @@ export function captureVNode(processing: VNode): VNode | null {
// 创建孩子节点
export function createVNodeChildren(processing: VNode, nextChildren: any) {
const isComparing = !processing.isCreated;
return createChildrenByDiff(processing, processing.child, nextChildren, isComparing);
return createChildrenByDiff(processing, processing.child, nextChildren, !processing.isCreated);
}
export function markRef(processing: VNode) {