Преглед на файлове

getters.md - basic example fix

J Bruni преди 9 години
родител
ревизия
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
   }
 }
 ```