kashtian

Results 1 issues of kashtian

`const idxInOld = prevChildren.findIndex( node => node.key === newStartVNode.key )` 这里应判断node是否存在,prevChildren里的元素可能被赋值为undefined。 同理移除操作那里同样需要加上限制。应改为: ` const idxInOld = prevChildren.findIndex( node => node && (node.key === newStartVNode.key) )` `for (let i = oldStartIdx;...