|
|
@ -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-13 17:45:53
|
|
|
|
* @LastEditTime: 2022-07-13 17:53:32
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
@ -103,8 +103,8 @@ const ENV = process.env;
|
|
|
|
paySign : par.paySign
|
|
|
|
paySign : par.paySign
|
|
|
|
}, async (res) => {
|
|
|
|
}, async (res) => {
|
|
|
|
console.log(res);
|
|
|
|
console.log(res);
|
|
|
|
if(res.errMsg !== 'get_brand_wcpay_request:cancel'){
|
|
|
|
if(res.errMsg !== 'chooseWXPay:cancel'){
|
|
|
|
if(res.errMsg !== 'get_brand_wcpay_request:ok'){
|
|
|
|
if(res.errMsg.includes('chooseWXPay:fail')){
|
|
|
|
await uni._$toast(res.errMsg || '调起支付错误');
|
|
|
|
await uni._$toast(res.errMsg || '调起支付错误');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(this.orderInfo.returnUrl){
|
|
|
|
if(this.orderInfo.returnUrl){
|
|
|
|