소스 검색

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

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)
         if (!this.toggleLayout)
             this.page1 = this.page2;
             this.page1 = this.page2;
         this.toggleLayout = true;
         this.toggleLayout = true;
+        await this.$nextTick();
         await sleep(50);
         await sleep(50);
 
 
         const page = this.$refs.scrollingPage;
         const page = this.$refs.scrollingPage;