Add support for Android and iOS (#96)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
5843f9c837
commit
af0c3db0f4
73 files changed
+2163
-21
No files matched your search
@@ -113,12 +113,7 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
async onLogout() {
|
||||
await this.$store.dispatch('resetToken');
|
||||
await this.$store.dispatch('resetUser');
|
||||
const url = window.location.href;
|
||||
const baseUrlAuth = getBaseUrlAuth();
|
||||
const redirectUrl = `${baseUrlAuth}/auth/logout?redirect=${url}`;
|
||||
window.location.href = redirectUrl;
|
||||
this.$store.dispatch('logout');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user