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.
1 parent 9c9bf75 commit aad6b51Copy full SHA for aad6b51
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