|
@@ -590,10 +590,14 @@ export default {
|
|
|
.then((res) => {
|
|
|
this.createOrderLoading = false
|
|
|
if(res.status === 1){
|
|
|
- this.orderId = res.id
|
|
|
- this.qr_code_url = res.qr_code_url
|
|
|
- this.paymentShow = true;
|
|
|
this.order_amount = res.order_amount
|
|
|
+ if(this.order_amount<=0){
|
|
|
+ this.getInfo()
|
|
|
+ }else{
|
|
|
+ this.orderId = res.id
|
|
|
+ this.qr_code_url = res.qr_code_url
|
|
|
+ this.paymentShow = true;
|
|
|
+ }
|
|
|
}
|
|
|
}).catch(()=>{
|
|
|
this.createOrderLoading = false
|