Skip to content

Commit 4ac5c17

Browse files
Jinjiangktsn
authored andcommitted
[en] small format fixes (#950)
1 parent 51eeb72 commit 4ac5c17

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

docs/en/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default {
108108
methods: {
109109
...mapActions([
110110
'increment', // map `this.increment()` to `this.$store.dispatch('increment')`
111-
111+
112112
// `mapActions` also supports payloads:
113113
'incrementBy' // map `this.incrementBy(amount)` to `this.$store.dispatch('incrementBy', amount)`
114114
]),

docs/en/forms.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ computed: {
5858
}
5959
}
6060
```
61-

docs/en/getters.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ getters: {
7878
store.getters.getTodoById(2) // -> { id: 2, text: '...', done: false }
7979
```
8080

81-
8281
### The `mapGetters` Helper
8382

8483
The `mapGetters` helper simply maps store getters to local computed properties:

docs/en/mutations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ mutations: {
4848
}
4949
}
5050
```
51+
5152
``` js
5253
store.commit('increment', {
5354
amount: 10
@@ -147,7 +148,7 @@ export default {
147148
methods: {
148149
...mapMutations([
149150
'increment', // map `this.increment()` to `this.$store.commit('increment')`
150-
151+
151152
// `mapMutations` also supports payloads:
152153
'incrementBy' // map `this.incrementBy(amount)` to `this.$store.commit('incrementBy', amount)`
153154
]),

0 commit comments

Comments
 (0)