退出登录控制台报错

This commit is contained in:
wyy
2023-04-24 11:27:01 +08:00
parent 796976ab4d
commit 4912c2567e

View File

@@ -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
}