Explorar el Código

getters.md - basic example fix

J Bruni hace 9 años
padre
commit
6bfef59cf6
Se han modificado 1 ficheros con 1 adiciones y 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
   }
 }
 ```