Commit 3e313d84 by chenwq

全品类,展示

1 parent f5855957
......@@ -61,7 +61,10 @@ Component({
judgeIsShow() {
let { searchForm } = this.data
let { userInfo } = wx.$storage.get()
let isSuper = userInfo.isSuper && searchForm.partnerMerchantIds[0] == userInfo.merchantId
let isSuper = true
if(userInfo.isSuper) {
isSuper = searchForm.partnerMerchantIds[0] == userInfo.merchantId
}
this.setData({
totalShow: (searchForm.startTime && searchForm.endTime) || searchForm.shopMerchantIds.length || !isSuper
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!