guhongwei 5 anos atrás
pai
commit
e0ca54a037
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/store/login.js

+ 1 - 1
src/store/login.js

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