Skip to content

Commit 290ee83

Browse files
committed
apply vuejs#629 for all lang
1 parent 90afa3c commit 290ee83

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/fr/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const moduleA = {
5858
// ...
5959
actions: {
6060
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61-
if (state.count + rootState.count % 2 === 1) {
61+
if ((state.count + rootState.count) % 2 === 1) {
6262
commit('increment')
6363
}
6464
}

docs/ja/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const moduleA = {
5858
// ...
5959
actions: {
6060
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61-
if (state.count + rootState.count % 2 === 1) {
61+
if ((state.count + rootState.count) % 2 === 1) {
6262
commit('increment')
6363
}
6464
}

docs/kr/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const moduleA = {
5858
// ...
5959
actions: {
6060
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61-
if (state.count + rootState.count % 2 === 1) {
61+
if ((state.count + rootState.count) % 2 === 1) {
6262
commit('increment')
6363
}
6464
}

docs/ru/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const moduleA = {
5858
// ...
5959
actions: {
6060
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61-
if (state.count + rootState.count % 2 === 1) {
61+
if ((state.count + rootState.count) % 2 === 1) {
6262
commit('increment')
6363
}
6464
}

docs/zh-cn/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const moduleA = {
5858
// ...
5959
actions: {
6060
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61-
if (state.count + rootState.count % 2 === 1) {
61+
if ((state.count + rootState.count) % 2 === 1) {
6262
commit('increment')
6363
}
6464
}

0 commit comments

Comments
 (0)