소스 검색

К предыдущему

Book Pauk 3 년 전
부모
커밋
c0b658d9e6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      client/components/Reader/TextPage/TextPage.vue

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

@@ -163,6 +163,7 @@ class TextPage {
         }, 10);
 
         this.$root.addEventHook('resize', async() => {
+            this.$nextTick(this.onResize);
             await utils.sleep(200);
             this.$nextTick(this.onResize);
         });