소스 검색

Поправил баг

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;