We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8afeed3 commit cf2388fCopy full SHA for cf2388f
docs/serialization.zh_CN.md
@@ -94,7 +94,7 @@ $('body').replaceWith(snapshot);
94
95
这个序列化的结果中有两点需要注意:
96
97
-1. 我们遍历 DOM 树时是以 Node 为单位,因此除了场景的元素类型节点以为,还包括 Text Node、Comment Node 等所有 Node 的记录。
+1. 我们遍历 DOM 树时是以 Node 为单位,因此除了场景的元素类型节点以外,还包括 Text Node、Comment Node 等所有 Node 的记录。
98
2. 我们给每一个 Node 都添加了唯一标识 `id`,这是为之后的增量快照做准备。
99
100
想象一下如果我们在同页面中记录一次点击按钮的操作并回放,我们可以用以下格式记录该操作(也就是我们所说的一次增量快照):
0 commit comments