diff --git a/docs/en/mutations.md b/docs/en/mutations.md index 7bc7a4aa7..55e14609c 100644 --- a/docs/en/mutations.md +++ b/docs/en/mutations.md @@ -83,7 +83,7 @@ Since a Vuex store's state is made reactive by Vue, when we mutate the state, Vu 2. When adding new properties to an Object, you should either: - - Use `Vue.set(obj, 'newProp', 123)`, or - + - Use `Vue.set(obj, 'newProp', 123)`, or - Replace that Object with a fresh one. For example, using the stage-3 [object spread syntax](https://github.com/sebmarkbage/ecmascript-rest-spread) we can write it like this: diff --git a/docs/ru/mutations.md b/docs/ru/mutations.md index 06e726bb6..ba3c682ab 100644 --- a/docs/ru/mutations.md +++ b/docs/ru/mutations.md @@ -83,7 +83,7 @@ mutations: { 2. При добавлении новых свойств объекту необходимо либо: - - Использовать `Vue.set(obj, 'newProp', 123)`, либо же - + - Использовать `Vue.set(obj, 'newProp', 123)`, либо же - Целиком заменить старый объект новым. Например, используя [синтаксис расширения объектов](https://github.com/sebmarkbage/ecmascript-rest-spread) из stage-3, можно написать так: diff --git a/docs/zh-cn/mutations.md b/docs/zh-cn/mutations.md index b991edc39..7054571a5 100644 --- a/docs/zh-cn/mutations.md +++ b/docs/zh-cn/mutations.md @@ -83,7 +83,7 @@ mutations: { 2. 当需要在对象上添加新属性时,你应该 - - 使用 `Vue.set(obj, 'newProp', 123)`, 或者 - + - 使用 `Vue.set(obj, 'newProp', 123)`, 或者 - 以新对象替换老对象。例如,利用 stage-3 的[对象展开运算符](https://github.com/sebmarkbage/ecmascript-rest-spread)我们可以这样写: