Skip to content

Commit cf2388f

Browse files
authored
docs: text typo (#862)
1 parent 8afeed3 commit cf2388f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/serialization.zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $('body').replaceWith(snapshot);
9494

9595
这个序列化的结果中有两点需要注意:
9696

97-
1. 我们遍历 DOM 树时是以 Node 为单位,因此除了场景的元素类型节点以为,还包括 Text Node、Comment Node 等所有 Node 的记录。
97+
1. 我们遍历 DOM 树时是以 Node 为单位,因此除了场景的元素类型节点以外,还包括 Text Node、Comment Node 等所有 Node 的记录。
9898
2. 我们给每一个 Node 都添加了唯一标识 `id`,这是为之后的增量快照做准备。
9999

100100
想象一下如果我们在同页面中记录一次点击按钮的操作并回放,我们可以用以下格式记录该操作(也就是我们所说的一次增量快照):

0 commit comments

Comments
 (0)