ccjgmwz 3 лет назад
Родитель
Сommit
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()