Поправка бага

This commit is contained in:
Book Pauk
2019-10-20 18:22:21 +07:00
parent 5d18c9371d
commit 3f8cbfa259

View File

@@ -327,7 +327,8 @@ class Reader extends Vue {
(async() => {
await bookManager.init(this.settings);
bookManager.addEventListener(this.bookManagerEvent);
await this.$refs.serverStorage.init();
if (this.$root.rootRoute == '/reader') {
if (this.routeParamUrl) {
await this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos, force: this.routeParamRefresh});
@@ -340,7 +341,6 @@ class Reader extends Vue {
this.checkActivateDonateHelpPage();
this.loading = false;
await this.$refs.serverStorage.init();
await this.showWhatsNew();
await this.showMigration();
})();