xiaomei 1 сар өмнө
parent
commit
26a29cf6ee

+ 4 - 2
src/pages/shoppingMall/index.vue

@@ -463,6 +463,7 @@ export default {
     this.goods = [];
     this.duoduoCats();
     this.goodsDay();
+    console.log("onReachBottom")
     this.$bus.$on("onReachBottom", (url) => {
       console.log(this.platformObj.type)
       if (page != -1) {
@@ -479,8 +480,8 @@ export default {
       color: "#999",
       selectedColor: "#E68B1E",
     });
-    this.duoduoCats();
-    this.goodsDay();
+    // this.duoduoCats();
+    // this.goodsDay();
   },
   onHide() {},
   onPageScroll(e) {
@@ -843,6 +844,7 @@ export default {
                     //     that.goods.push(e);
                     // });
                     that.goods = [...that.goods,...obj]
+                    console.log(that.goods,"===")
                 } else {
                     if (page == 1) {
                         that.haveGoods = true;