浏览代码

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

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

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

@@ -460,10 +460,13 @@ class TextPage extends Vue {
         /*this.page1 = null;
         this.page2 = null;
         this.statusBar = null;*/
-
-        this.calcDrawProps();
-        this.setBackground();
-        this.draw();
+        try {
+            this.calcDrawProps();
+            this.setBackground();
+            this.draw();
+        } catch (e) {
+            //
+        }
     }
 
     get settings() {