Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c9bf75 + aad6b51 commit b31b441Copy full SHA for b31b441
template/src/renderer/store/modules/Counter.js
@@ -4,10 +4,10 @@ const state = {
4
5
const mutations = {
6
DECREMENT_MAIN_COUNTER (state) {
7
- {{#if_eq eslintConfig 'airbnb'}}state.main = state.main + 1{{else}}state.main--{{/if_eq}}
+ {{#if_eq eslintConfig 'airbnb'}}state.main = state.main - 1{{else}}state.main--{{/if_eq}}
8
},
9
INCREMENT_MAIN_COUNTER (state) {
10
- {{#if_eq eslintConfig 'airbnb'}}state.main = state.main - 1{{else}}state.main++{{/if_eq}}
+ {{#if_eq eslintConfig 'airbnb'}}state.main = state.main + 1{{else}}state.main++{{/if_eq}}
11
}
12
13
0 commit comments