瀏覽代碼

退出登录控制台报错

wyy 2 年之前
父節點
當前提交
4912c2567e
共有 1 個文件被更改,包括 0 次插入1 次删除
  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
 }