natasha 1 month ago
parent
commit
300cfae7a5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/bookShelf/index.vue

+ 4 - 1
src/views/bookShelf/index.vue

@@ -429,7 +429,9 @@ export default {
                   }
                 });
               } else {
-                this.BookList = res.goods_list;
+                if (res.cur_page === 1) {
+                  this.BookList = res.goods_list;
+                }
               }
               this.noMore = false;
             } else {
@@ -518,6 +520,7 @@ export default {
   },
   //生命周期 - 创建完成(可以访问当前this实例)
   created() {
+    console.log("2025-05-07");
     if (this.userMessage) {
       this.getNumber();
       this.getList();