Skip to content

Commit 6bfef59

Browse files
committed
getters.md - basic example fix
1 parent ff6b35a commit 6bfef59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/getters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Now `store.getters.total` function can be used in a Vue component similarly to s
2222
``` js
2323
export default {
2424
computed: {
25-
store.getters.total
25+
total: store.getters.total
2626
}
2727
}
2828
```

0 commit comments

Comments
 (0)