|
|
@ -9,8 +9,8 @@ import store from '../store' |
|
|
|
*/ |
|
|
|
export function clearLoginInfo() { |
|
|
|
store.commit('resetStore') |
|
|
|
Cookies.remove('xa-token') |
|
|
|
window.localStorage.clear() |
|
|
|
window.sessionStorage.clear() |
|
|
|
window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false |
|
|
|
} |
|
|
|
|
|
|
|