1
0
Эх сурвалжийг харах

getters.md - basic example fix

J Bruni 9 жил өмнө
parent
commit
6bfef59cf6
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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
   }
 }
 ```