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 a57ebfd commit 78566c2Copy full SHA for 78566c2
src/guide/list.md
@@ -363,9 +363,9 @@ Vue包含一组观察数组的突变方法,所以它们也将会触发视图
363
364
你打开控制台,然后用前面例子的 `items` 数组调用突变方法:`example1.items.push({ measage: 'Baz' })`
365
366
-### 替换数组
+### 重塑数组
367
368
-突变方法,顾名思义,改变原始数组的称呼。相比之下,也有非突然的方法,例如:`filter()` ,`concat()` ,`slice()` 。这些不会突变原始数组,但是会一直返回一个新的数组。当用非突变方法时,你刚好用一个新的组数去替换一个旧的数组:
+突变方法,顾名思义,改变原始数组的称呼。相比之下,也有不改变原组数的方法,例如:`filter()` ,`concat()` ,`slice()` 。这些不会改变原始数组,但总是返回一个新的数组。当用不改变原数组的方法时,你只需替换旧数组用新的:
369
370
``` js
371
example1.items = example1.items.filter(function (item) {
0 commit comments