liyongli 1 năm trước cách đây
mục cha
commit
9e78938ab9
1 tập tin đã thay đổi với 1 bổ sung7 xóa
  1. 1 7
      miniprogram/pages/home/index.js

+ 1 - 7
miniprogram/pages/home/index.js

@@ -28,13 +28,7 @@ Page({
           return
         }
         _this.setData({
-          // list: res.list || []
-          list: [
-            ...res.list,
-            ...res.list,
-            ...res.list,
-            ...res.list,
-          ]
+          list: res.list || []
         })
       }
     })