guhongwei il y a 5 ans
Parent
commit
e0ca54a037
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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}`, {