Skip to content

Commit 2f2d790

Browse files
authored
Merge pull request #168 from LightCi/patch-1
重塑数组名词错误
2 parents 7b8e0fa + 529ad10 commit 2f2d790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ Vue 包含一组观察数组的突变方法,所以它们也将会触发视图
365365

366366
### 重塑数组
367367

368-
突变方法,顾名思义,改变原始数组的称呼。相比之下,也有不改变原组数的方法,例如: `filter()``concat()``slice()` 。这些不会改变原始数组,但总是返回一个新的数组。当用不改变原数组的方法时,你只需替换旧数组用新的:
368+
重塑数组,顾名思义,改变原始数组的称呼。相比之下,也有不改变原组数的方法,例如: `filter()``concat()``slice()` 。这些不会改变原始数组,但总是返回一个新的数组。当用不改变原数组的方法时,你只需替换旧数组用新的:
369369

370370
``` js
371371
example1.items = example1.items.filter(function (item) {

0 commit comments

Comments
 (0)