This commit is contained in:
rca 2024-07-19 03:32:20 +09:00
parent a9bad46078
commit 53b1914c72

View File

@ -1,13 +1,16 @@
import { ActionTree } from 'vuex';
import { RootStateInterface } from '../index';
import { AccountStateInterface } from './state';
import { getChildDetails } from 'src/api/apiService';
const actions: ActionTree<AccountStateInterface, RootStateInterface> = {
logout(context) {
context.commit('setToken', '');
context.commit('setUsername', '');
context.commit('setLoggedIn', false);
}
},
fetchAccount(context) {
}
};
export default actions;