Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line 53 should start with old node #383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/vue/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

![](https://static001.infoq.cn/resource/image/16/86/16cf0ef90f6e19d26c0ddffeca067e86.png)

新节点的 `startIndex` 已经大于 `endIndex` 了,需要创建 `newStartIdx` 和 `newEndIdx` 之间的所有节点,也就是节点F,直接创建 F 节点对应的真实节点放到 B 节点后面
旧节点的 `startIndex` 已经大于 `endIndex` 了,需要创建 `newStartIdx` 和 `newEndIdx` 之间的所有节点,也就是节点F,直接创建 F 节点对应的真实节点放到 B 节点后面

![](https://static001.infoq.cn/resource/image/dc/ad/dc215b45682cf6c9cc4700a5425673ad.png)

Expand Down