Сделан npm update, поправлены ошибки

This commit is contained in:
Book Pauk
2019-09-03 22:45:00 +07:00
parent cf2efc2b92
commit f762d2a271
5 changed files with 2376 additions and 1883 deletions

View File

@@ -482,9 +482,9 @@ class Reader extends Vue {
const pos = (recent && recent.bookPos && this.allowUrlParamBookPos ? `__p=${recent.bookPos}&` : '');
const url = (recent ? `url=${recent.url}` : '');
if (isNewRoute)
this.$router.push(`/reader?${pos}${url}`);
this.$router.push(`/reader?${pos}${url}`).catch(() => {});
else
this.$router.replace(`/reader?${pos}${url}`);
this.$router.replace(`/reader?${pos}${url}`).catch(() => {});
}