msb_prod
ch 2 years ago
parent 37d262e108
commit df6df34f7a

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-07-08 11:46:30 * @Date: 2022-07-08 11:46:30
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-07-12 15:36:28 * @LastEditTime: 2022-07-12 15:48:01
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -67,7 +67,7 @@ const ENV = process.env;
payOrderNo : this.payOrderNo payOrderNo : this.payOrderNo
}) })
if(error){ if(error){
uni._$toast(error.message); await uni._$toast(error.message);
return false; return false;
} }
this.orderInfo = result; this.orderInfo = result;
@ -101,9 +101,9 @@ const ENV = process.env;
signType : par.signType, signType : par.signType,
paySign : par.paySign paySign : par.paySign
}, async res => { }, async res => {
if(res !== 'get_brand_wcpay_request:cancel'){ if(res.errMsg !== 'get_brand_wcpay_request:cancel'){
if(res !== 'get_brand_wcpay_request:ok'){ if(res.errMsg !== 'get_brand_wcpay_request:ok'){
await uni._$toast(res); await uni._$toast(res.errMsg);
} }
if(this.orderInfo.returnUrl){ if(this.orderInfo.returnUrl){
window.location.replace(this.orderInfo.returnUrl); window.location.replace(this.orderInfo.returnUrl);

Loading…
Cancel
Save