Explorar o código

getters.md - basic example fix

J Bruni %!s(int64=9) %!d(string=hai) anos
pai
achega
6bfef59cf6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
   }
 }
 ```