Add support for Android and iOS (#96)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-08-04 13:13:13 +08:00
1 parent 5843f9c837
commit af0c3db0f4
73 files changed
+2163 -21

No files matched your search

+1 -6
View File
@@ -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');
}
}
});