Commit aa7ecd07 by 杨北旺

修复首页下拉刷新

1 parent c33b1544
......@@ -134,7 +134,7 @@ Page({
})
if (storeList.length > 1) {
storeList.forEach((ele, i) => {
if (this.defaultMerchant == i) {
if (this.defaultMerchant == ele.merchantId) {
index = i
}
})
......@@ -157,6 +157,10 @@ Page({
},
onPullDownRefresh(){
this.fresh = true
const {
merchantId
} = wx.p.storage.get('merchant_info')
this.defaultMerchant = merchantId
this.getMerchantList()
this.getStrategyList();
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!