|
@@ -54,7 +54,7 @@ const actions = {
|
|
async logout({ commit }, payload) {
|
|
async logout({ commit }, payload) {
|
|
localStorage.removeItem('token');
|
|
localStorage.removeItem('token');
|
|
// const res = await this.$axios.$post(api.logout, { key: key });
|
|
// const res = await this.$axios.$post(api.logout, { key: key });
|
|
- commit('deleteUser');
|
|
|
|
|
|
+ // commit('deleteUser');
|
|
},
|
|
},
|
|
async update({ commit }, payload) {
|
|
async update({ commit }, payload) {
|
|
let res = await this.$axios.$post(`${api.updatePassword}`, {
|
|
let res = await this.$axios.$post(`${api.updatePassword}`, {
|