Поправлен баг

This commit is contained in:
Book Pauk
2022-08-05 00:16:54 +07:00
parent 0e29546fc5
commit 8c7b86c458

View File

@@ -721,7 +721,7 @@ class Reader {
return;
const recent = this.mostRecentBook();
const pos = (recent && recent.bookPos && this.allowUrlParamBookPos ? `__p=${recent.bookPos}&` : '');
const url = (recent ? `url=${recent.url}` : '');
const url = (recent ? `url=${encodeURIComponent(recent.url)}` : '');
if (isNewRoute)
this.$router.push(`/reader?${pos}${url}`).catch(() => {});
else