9 lines
167 B
JavaScript
9 lines
167 B
JavaScript
|
export default {
|
||
|
login(context) {
|
||
|
context.commit('setAuth', { isAuth: true });
|
||
|
},
|
||
|
logout(context) {
|
||
|
context.commit('setAuth', { isAuth: false });
|
||
|
}
|
||
|
};
|