WIP #216. QA mentioned that bugs remained, so we keep working on it.

This commit is contained in:
Cindy Chang
2024-06-11 13:55:00 +08:00
parent 314670eafd
commit 82fe104291
3 changed files with 39 additions and 17 deletions

View File

@@ -105,7 +105,8 @@ export default {
},
created() {
// 考慮到使用者可能在未登入的情況下貼入一個頁面網址連結過來瀏覽器
this.setRememberedReturnToUrl(this.$route.query['return-to']);
// btoa: 對字串進行 Base64 編碼
this.setRememberedReturnToUrl(btoa(this.$route.query['return-to']));
},
};
</script>