Lance Li пре 7 година
родитељ
комит
b16b984c88
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      docs/en/mutations.md
  2. 1 1
      docs/ru/mutations.md
  3. 1 1
      docs/zh-cn/mutations.md

+ 1 - 1
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:
 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:
   - 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:
 
 

+ 1 - 1
docs/ru/mutations.md

@@ -83,7 +83,7 @@ mutations: {
 
 
 2. При добавлении новых свойств объекту необходимо либо:
 2. При добавлении новых свойств объекту необходимо либо:
 
 
-  - Использовать `Vue.set(obj, 'newProp', 123)`, либо же -
+  - Использовать `Vue.set(obj, 'newProp', 123)`, либо же
 
 
   - Целиком заменить старый объект новым. Например, используя [синтаксис расширения объектов](https://github.com/sebmarkbage/ecmascript-rest-spread) из stage-3, можно написать так:
   - Целиком заменить старый объект новым. Например, используя [синтаксис расширения объектов](https://github.com/sebmarkbage/ecmascript-rest-spread) из stage-3, можно написать так:
 
 

+ 1 - 1
docs/zh-cn/mutations.md

@@ -83,7 +83,7 @@ mutations: {
 
 
 2. 当需要在对象上添加新属性时,你应该
 2. 当需要在对象上添加新属性时,你应该
 
 
-  - 使用 `Vue.set(obj, 'newProp', 123)`, 或者 -
+  - 使用 `Vue.set(obj, 'newProp', 123)`, 或者
 
 
   - 以新对象替换老对象。例如,利用 stage-3 的[对象展开运算符](https://github.com/sebmarkbage/ecmascript-rest-spread)我们可以这样写:
   - 以新对象替换老对象。例如,利用 stage-3 的[对象展开运算符](https://github.com/sebmarkbage/ecmascript-rest-spread)我们可以这样写: