订单金额为0自动余额支付
This commit is contained in:
1 parent
6d51e64849
commit
6749c2c278
1 file changed
+8
-1
@@ -555,7 +555,14 @@ const pay = async() => {
|
||||
}
|
||||
|
||||
main.DEL_COUPON()
|
||||
|
||||
if(amount.value == 0){
|
||||
uToast.value.show({
|
||||
message: '订单金额为0自动余额支付',
|
||||
type: 'success'
|
||||
});
|
||||
uni.hideLoading()
|
||||
return
|
||||
}
|
||||
|
||||
if (payType.value == 'weixin') {
|
||||
// 微信支付
|
||||
|
||||
Reference in new issue
Block a user