Match-id-9301db1f5ae58c6e7f046efc003b8dff452d0a82
This commit is contained in:
parent
b55ab599b2
commit
08295b4fb4
|
@ -66,9 +66,7 @@ export function captureVNode(processing: VNode): VNode | null {
|
||||||
|
|
||||||
// 创建孩子节点
|
// 创建孩子节点
|
||||||
export function createVNodeChildren(processing: VNode, nextChildren: any) {
|
export function createVNodeChildren(processing: VNode, nextChildren: any) {
|
||||||
const isComparing = !processing.isCreated;
|
return createChildrenByDiff(processing, processing.child, nextChildren, !processing.isCreated);
|
||||||
|
|
||||||
return createChildrenByDiff(processing, processing.child, nextChildren, isComparing);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function markRef(processing: VNode) {
|
export function markRef(processing: VNode) {
|
||||||
|
|
Loading…
Reference in New Issue