Kaynağa Gözat

退出登录控制台报错

wyy 2 yıl önce
ebeveyn
işleme
4912c2567e
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      mall4v/src/utils/index.js

+ 0 - 1
mall4v/src/utils/index.js

@@ -95,6 +95,5 @@ function idListFromTree (data, val, res = [], id = 'id', children = 'children')
  */
 export function clearLoginInfo () {
   Vue.cookie.delete('Authorization')
-  store.commit('resetStore')
   router.options.isAddDynamicMenuRoutes = false
 }