guhongwei 5 년 전
부모
커밋
e0ca54a037
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}`, {