Pārlūkot izejas kodu

getters.md - basic example fix

J Bruni 9 gadi atpakaļ
vecāks
revīzija
6bfef59cf6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      docs/en/getters.md

+ 1 - 1
docs/en/getters.md

@@ -22,7 +22,7 @@ Now `store.getters.total` function can be used in a Vue component similarly to s
 ``` js
 export default {
   computed: {
-    store.getters.total
+    total: store.getters.total
   }
 }
 ```