Commit 3c2471c1 by 匡雅琴

排名接口逻辑调整

1 parent f0a3e022
......@@ -90,7 +90,7 @@ export default {
return
}
this.rankingList = res.data.dataList[0]
this.merchantsList = this.rankingList[this.purchaseList[0].value].slice(0, 5)
this.merchantsList = this.rankingList[this.purchase.value || this.purchaseList[0].value].slice(0, 5)
this.setMerchantRankingList(this.merchantsList)
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!