fix #216. Add base5

encode. Also add cypress.
This commit is contained in:
Cindy Chang committed 2024-06-11 12:23:17 +08:00
1 parent aa1dbfabf2
commit 314670eafd
2 files changed
+18 -3

No files matched your search

+1 -3
View File
@@ -46,10 +46,8 @@ export default defineStore('loginStore', {
// 然而有一種情況是使用者在沒有登入的情況下貼上了某一個頁面的網址,
// 則在此情況下時,我們會在使用者稍後登入後,把使用者帶到剛才記住的 return-to 網址
if(this.rememberedReturnToUrl !== "") {
console.log('1111', );
window.location.href = this.rememberedReturnToUrl;
window.location.href = atob(this.rememberedReturnToUrl);
} else {
console.log('2222', );
this.$router.push('/login');
}
} catch(error) {