|
@ -45,8 +45,6 @@ export function logout (user) { |
|
|
const token = user.token; |
|
|
const token = user.token; |
|
|
const url = ApiTable.logout; |
|
|
const url = ApiTable.logout; |
|
|
sessionStorage.removeItem('user'); |
|
|
sessionStorage.removeItem('user'); |
|
|
localStorage.removeItem('zhongding_selected_sider') |
|
|
|
|
|
localStorage.removeItem('zhongding_open_sider') |
|
|
|
|
|
Request.put(url, { |
|
|
Request.put(url, { |
|
|
token: token |
|
|
token: token |
|
|
}); |
|
|
}); |
|
|