浏览代码

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

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);
         });