This commit is contained in:
yuping
2023-09-19 17:05:40 +08:00
parent 830d20b082
commit 9ab862397b
5 changed files with 5 additions and 9 deletions

View File

@@ -90,7 +90,7 @@ const logOut = async () => {
store.replaceState(createStore({state: {openpages: []}}).state);
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)
window.location.href = window.location.protocol + process.env.VUE_APP_LOGIN_URL
};
</script>
<style scoped lang="scss">