瀏覽代碼

Поправил баг

Book Pauk 6 年之前
父節點
當前提交
4e1151c9a8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/components/Reader/CopyTextPage/CopyTextPage.vue

+ 1 - 1
client/components/Reader/CopyTextPage/CopyTextPage.vue

@@ -41,7 +41,7 @@ class CopyTextPage extends Vue {
         this.text = 'Загрузка';
         await this.$nextTick();
 
-        const paraIndex = parsed.findParaIndex(bookPos);
+        const paraIndex = parsed.findParaIndex(bookPos || 0);
         this.initStep = true;
         this.stopInit = false;