mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
---fix bug
This commit is contained in:
@@ -88,7 +88,6 @@ const changeRole = (value) => {
|
||||
const logOut = async () => {
|
||||
await request(LOGOUT)
|
||||
store.replaceState(createStore({state: {openpages: []}}).state);
|
||||
document.cookie=''
|
||||
localStorage.clear();
|
||||
sessionStorage.clear();
|
||||
(process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'alpine') ? router.push({path: '/login'}) : (window.location.href = window.location.protocol + process.env.VUE_APP_LOGIN_URL)
|
||||
|
||||
Reference in New Issue
Block a user