WeixinJSBridge.invoke 支付成功不返回,失败却会返回?
WeixinJSBridge.invoke('getBrandWCPayRequest', _params, res => {
alert("getBrandWCPayRequest");
alert(res.err_msg);
if (res.err_msg == "get_brand_wcpay_request:ok" ) {
// 支付成功
//window.open('https://share.sdweibu.com/pedicur
this.$router.push({name:"PageSuccess"});
} else {
this.$toast("微信支付失败");
}