|
@@ -56,9 +56,9 @@ async function handelPay() {
|
|
if (is_weixn.value) {
|
|
if (is_weixn.value) {
|
|
//微信内支付
|
|
//微信内支付
|
|
onBridgeReady(res)
|
|
onBridgeReady(res)
|
|
- } else if (res.form || res.h5Url) {
|
|
|
|
|
|
+ } else if (res.form || res.h5Url || res.redirect) {
|
|
console.log('payType', res.form || res.h5Url)
|
|
console.log('payType', res.form || res.h5Url)
|
|
- window.location.href = res.form || res.h5Url
|
|
|
|
|
|
+ window.location.href = res.form || res.h5Url || res.redirect
|
|
} else {
|
|
} else {
|
|
showConfirm({
|
|
showConfirm({
|
|
text: t('payInfo.userName'),
|
|
text: t('payInfo.userName'),
|