Forráskód Böngészése

fix: 页码递增重复

joe 4 éve
szülő
commit
88bfb33f9a
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      view/xcx/pages/index/index.js

+ 0 - 1
view/xcx/pages/index/index.js

@@ -439,7 +439,6 @@ Page({
             act.loaded = list.length < PAGE_LIMIT
             act.loading = false
             act.loadTitle = act.loaded ? '已全部加载' : '加载更多'
-            act.page += 1
             that.setData({
                 [`prodCates.children[${cindex}].loaded`]: act.loaded,
                 [`prodCates.children[${cindex}].loading`]: false,