mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-04 05:58:13 +00:00
fix loginu
This commit is contained in:
@@ -157,7 +157,9 @@ export default defineComponent({
|
||||
|
||||
async signOut() {
|
||||
await axios.post('/auth/logout', {}, { baseURL, withCredentials: true });
|
||||
|
||||
this.$router.push('/login');
|
||||
this.store.removeUserData();
|
||||
},
|
||||
|
||||
onNotifyCheckboxChange(value: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user