瀏覽代碼

Doc EN `getters.md` : Add new line for consistency (#791)

* Add new line for consistency into getters.md

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>

* Add tick for consistency accross all Vue docs.

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
Bruno Lesieur 8 年之前
父節點
當前提交
752dbc6e75
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/en/getters.md

+ 2 - 1
docs/en/getters.md

@@ -62,6 +62,7 @@ computed: {
 ```
 
 You can also pass arguments to getters by returning a function. This is particularly useful when you want to query an array in the store:
+
 ```js
 getters: {
   // ...
@@ -100,7 +101,7 @@ If you want to map a getter to a different name, use an object:
 
 ``` js
 ...mapGetters({
-  // map this.doneCount to store.getters.doneTodosCount
+  // map `this.doneCount` to `store.getters.doneTodosCount`
   doneCount: 'doneTodosCount'
 })
 ```