Commit 0ec0f15d by 张立顺

代码注释

1 parent 7a745b23
......@@ -127,9 +127,9 @@ export default {
const { appId } = baseConfig
// console.log(appId)
const { merchantName, merchantId, shopMerchantId, shopMerchantName } = this.getHrefParams()
// 区分是流量方还是导流方
// this.getMiniAppConfig()
// 通过这方法动态判断商户是否需要屏蔽用户协议
this.setMerchantDisabled(merchantId || shopMerchantId)
// 区分是流量方还是导流方
if (merchantId) {
this.merchantId = merchantId
this.merchantName = merchantName
......@@ -269,6 +269,7 @@ export default {
// const _this = this
const { payMoney, unPayMoneyList, userId, userCollaborationName, userCollaborationCheck, merchantDisabled } = this
if (payMoney === '' || unPayMoneyList.includes(payMoney)) return
// merchantDisabled 通过这字段判断商户是否需要跳过检验
if (userCollaborationName && !userCollaborationCheck && !merchantDisabled) {
return this.showToast(`请先阅读并勾选《${userCollaborationName}》`)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!