Commit 121cdab7 by zhangxw

确认订单置灰bug修复

1 parent 082b7cba
......@@ -134,8 +134,8 @@ Page({
})
},
checkOut() {
let { money, walletObj, contactInfo } = this.data
if (money > walletObj?.currentScore) return // 积分不足
let { total, walletObj, contactInfo } = this.data
if (total > walletObj?.currentScore) return // 积分不足
if (!Object.keys(contactInfo)?.length) return wx.p.wxApi.showToast('请选择收货地址')
this.setData({
showModal: true
......
......@@ -92,7 +92,7 @@
</view>
</view>
</view>
<view class="btn text-center {{money > walletObj.currentScore ? 'disabled' : ''}}" bindtap="checkOut">立即兑换</view>
<view class="btn text-center {{total > walletObj.currentScore ? 'disabled' : ''}}" bindtap="checkOut">立即兑换</view>
</view>
</goods-action>
</block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!