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