Skip to content

Commit 529ad10

Browse files
authored
重塑数组名词错误
重塑数组下写错为突变方法
1 parent 0a645ab commit 529ad10

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)