msb_prod
ch 3 years ago
parent 496fec1271
commit a159b1168a

@ -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:11:50 * @LastEditTime: 2022-07-12 15:20:50
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -47,13 +47,13 @@ const ENV = process.env;
value : 'wxpay' value : 'wxpay'
} }
]; ];
// if(!WeixinJSBridge){ if(!WeixinJSBridge){
data.push({ data.push({
label : '支付宝支付', label : '支付宝支付',
icon : require('@/static/ali.png'), icon : require('@/static/ali.png'),
value : 'alipay' value : 'alipay'
}) })
// } }
return data; return data;
} }
}, },
@ -99,8 +99,11 @@ const ENV = process.env;
package: par.packageValue, package: par.packageValue,
signType : par.signType, signType : par.signType,
paySign : par.paySign paySign : par.paySign
}, res => { }, async res => {
if(res.err_msg !== 'get_brand_wcpay_request:cancel'){ if(res.err_msg !== 'get_brand_wcpay_request:cancel'){
if(res.err_msg.includes('chooseWXPay:fail')){
await uni._$toast(res.err_msg);
}
if(this.orderInfo.returnUrl){ if(this.orderInfo.returnUrl){
window.location.replace(this.orderInfo.returnUrl); window.location.replace(this.orderInfo.returnUrl);
}else{ }else{

Loading…
Cancel
Save