浏览代码

Мелкая поправка

Book Pauk 6 年之前
父节点
当前提交
ac111d5ea6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/components/Reader/TextPage/TextPage.vue

+ 1 - 0
client/components/Reader/TextPage/TextPage.vue

@@ -431,6 +431,7 @@ class TextPage extends Vue {
         if (!this.toggleLayout)
             this.page1 = this.page2;
         this.toggleLayout = true;
+        await this.$nextTick();
         await sleep(50);
 
         const page = this.$refs.scrollingPage;