|
@@ -79,7 +79,7 @@
|
|
title="Что нового:"
|
|
title="Что нового:"
|
|
:visible.sync="whatsNewVisible"
|
|
:visible.sync="whatsNewVisible"
|
|
width="60%">
|
|
width="60%">
|
|
- <div v-html="whatsNewContent"></div>
|
|
|
|
|
|
+ <div style="line-height: 20px" v-html="whatsNewContent"></div>
|
|
|
|
|
|
<span class="clickable" @click="openVersionHistory">Посмотреть историю версий</span>
|
|
<span class="clickable" @click="openVersionHistory">Посмотреть историю версий</span>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -242,7 +242,7 @@ class Reader extends Vue {
|
|
|
|
|
|
if (this.$root.rootRoute == '/reader') {
|
|
if (this.$root.rootRoute == '/reader') {
|
|
if (this.routeParamUrl) {
|
|
if (this.routeParamUrl) {
|
|
- await this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos});
|
|
|
|
|
|
+ await this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos, force: this.routeParamRefresh});
|
|
} else {
|
|
} else {
|
|
this.loaderActive = true;
|
|
this.loaderActive = true;
|
|
}
|
|
}
|
|
@@ -352,6 +352,11 @@ class Reader extends Vue {
|
|
return decodeURIComponent(result);
|
|
return decodeURIComponent(result);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ get routeParamRefresh() {
|
|
|
|
+ const q = this.$route.query;
|
|
|
|
+ return !!q['__refresh'];
|
|
|
|
+ }
|
|
|
|
+
|
|
bookPosChanged(event) {
|
|
bookPosChanged(event) {
|
|
if (event.bookPosSeen !== undefined)
|
|
if (event.bookPosSeen !== undefined)
|
|
this.bookPosSeen = event.bookPosSeen;
|
|
this.bookPosSeen = event.bookPosSeen;
|
|
@@ -1088,4 +1093,4 @@ i {
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|