订单金额为0自动余额支付

This commit is contained in:
hupeng committed 2025-06-19 09:52:06 +08:00
1 parent 6d51e64849
commit 6749c2c278
1 file changed
+8 -1
@@ -555,7 +555,14 @@ const pay = async() => {
} }
main.DEL_COUPON() main.DEL_COUPON()
if(amount.value == 0){
uToast.value.show({
message: '订单金额为0自动余额支付',
type: 'success'
});
uni.hideLoading()
return
}
if (payType.value == 'weixin') { if (payType.value == 'weixin') {
// 微信支付 // 微信支付