---fix bug

This commit is contained in:
yuping
2023-07-28 18:31:06 +08:00
parent 8ffff197fa
commit 7aab20177b

View File

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