Szx 3 yıl önce
ebeveyn
işleme
365fd10253
1 değiştirilmiş dosya ile 1 ekleme ve 7 silme
  1. 1 7
      src/views/Detail/index.ux

+ 1 - 7
src/views/Detail/index.ux

@@ -25,13 +25,7 @@
             <!-- <text class="add" @click="addShelf">{{book.is_on_user_shelf ? '已加入' : '加入书架'}}</text> -->
             <text
               class="read"
-              @click="
-                toRead(
-                  book.record_chapter_id
-                    ? book.record_chapter_id
-                    : book.first_cid
-                )
-              "
+              @click="toRead( book.record_chapter_id? book.record_chapter_id: book.first_cid)"
               >立即阅读</text
             >
           </div>