浏览代码

Поправка недочета

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

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

@@ -361,6 +361,10 @@ class TextPage extends Vue {
     }
     }
 
 
     onResize() {
     onResize() {
+        this.page1 = null;
+        this.page2 = null;
+        this.statusBar = null;
+
         this.calcDrawProps();
         this.calcDrawProps();
         this.setBackground();
         this.setBackground();
         this.draw();
         this.draw();