vue-design icon indicating copy to clipboard operation
vue-design copied to clipboard

fix:renderer-diff

Open nan980914 opened this issue 3 years ago • 0 comments

这种情况下预期与得到不符。代码链接如下: https://codesandbox.io/s/patchchildren-keyed-double-end-add2-forked-fmecu?file=/src/index.js 未被处理的全新节点不应该插入到oldStartIdx索引所指向的节点之前,而是应该插入到newEndIdx + 1索引所指向的节点之前。修改后可得到预期效果。

nan980914 avatar Jul 28 '21 18:07 nan980914