ccjgmwz 3 년 전
부모
커밋
dc09dffd96
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/modules/user.js

+ 1 - 1
src/store/modules/user.js

@@ -192,7 +192,7 @@ const actions = {
           commit('SET_GUIDE_INFO', [])
           commit('permission/SET_ROUTES', [], { root: true }) // 清空路由,因为有权限管理
           localStorage.removeItem('wf-pf_admin-token')
-          // clearStorage()
+          clearStorage()
           resetRouter()
           notification.end() // 取消监听通知
           resolve()