|
@@ -134,6 +134,7 @@ export default @Component({
|
|
settings: function(newValue) {
|
|
settings: function(newValue) {
|
|
this.allowUrlParamBookPos = newValue.allowUrlParamBookPos;
|
|
this.allowUrlParamBookPos = newValue.allowUrlParamBookPos;
|
|
this.copyFullText = newValue.copyFullText;
|
|
this.copyFullText = newValue.copyFullText;
|
|
|
|
+ this.showClickMapPage = newValue.showClickMapPage;
|
|
this.updateRoute();
|
|
this.updateRoute();
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -190,6 +191,7 @@ class Reader extends Vue {
|
|
|
|
|
|
this.allowUrlParamBookPos = this.settings.allowUrlParamBookPos;
|
|
this.allowUrlParamBookPos = this.settings.allowUrlParamBookPos;
|
|
this.copyFullText = this.settings.copyFullText;
|
|
this.copyFullText = this.settings.copyFullText;
|
|
|
|
+ this.showClickMapPage = this.settings.showClickMapPage;
|
|
}
|
|
}
|
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
@@ -521,8 +523,8 @@ class Reader extends Vue {
|
|
return classResult;
|
|
return classResult;
|
|
}
|
|
}
|
|
|
|
|
|
- async showClickMapPage() {
|
|
|
|
- if (!this.clickMapActive) {
|
|
|
|
|
|
+ async acivateClickMapPage() {
|
|
|
|
+ if (this.showClickMapPage && !this.clickMapActive) {
|
|
this.clickMapActive = true;
|
|
this.clickMapActive = true;
|
|
await this.$refs.clickMapPage.slowDisappear();
|
|
await this.$refs.clickMapPage.slowDisappear();
|
|
this.clickMapActive = false;
|
|
this.clickMapActive = false;
|
|
@@ -621,7 +623,7 @@ class Reader extends Vue {
|
|
progress.hide(); this.progressActive = false;
|
|
progress.hide(); this.progressActive = false;
|
|
this.blinkCachedLoadMessage();
|
|
this.blinkCachedLoadMessage();
|
|
|
|
|
|
- await this.showClickMapPage();
|
|
|
|
|
|
+ await this.acivateClickMapPage();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -669,7 +671,7 @@ class Reader extends Vue {
|
|
} else
|
|
} else
|
|
this.stopBlink = true;
|
|
this.stopBlink = true;
|
|
|
|
|
|
- await this.showClickMapPage();
|
|
|
|
|
|
+ await this.acivateClickMapPage();
|
|
} catch (e) {
|
|
} catch (e) {
|
|
progress.hide(); this.progressActive = false;
|
|
progress.hide(); this.progressActive = false;
|
|
this.loaderActive = true;
|
|
this.loaderActive = true;
|