|
@@ -83,8 +83,8 @@ getDetial()
|
|
function handlePay() {
|
|
function handlePay() {
|
|
if (orderDetal.value.payType == 5 || orderDetal.value.payType == 6) {
|
|
if (orderDetal.value.payType == 5 || orderDetal.value.payType == 6) {
|
|
//打开一个不被拦截的新窗口
|
|
//打开一个不被拦截的新窗口
|
|
- var win = window.open();
|
|
|
|
- win.document.body.innerHTML="正在拼命加载中......";
|
|
|
|
|
|
+ // var win = window.open();
|
|
|
|
+ // win.document.body.innerHTML="loading......";
|
|
openPay({
|
|
openPay({
|
|
orderSn: orderSn.value,
|
|
orderSn: orderSn.value,
|
|
payType: paysidtype[selectedPayType.value],
|
|
payType: paysidtype[selectedPayType.value],
|
|
@@ -93,7 +93,8 @@ function handlePay() {
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
qrCodeUrl.value = res.qrCodeUrl || res.redirect
|
|
qrCodeUrl.value = res.qrCodeUrl || res.redirect
|
|
// window.open('javascript:;', '<script>console.log(window.name)<\/script>')
|
|
// window.open('javascript:;', '<script>console.log(window.name)<\/script>')
|
|
- win.location.href = qrCodeUrl.value;
|
|
|
|
|
|
+ window.location.href = qrCodeUrl.value
|
|
|
|
+ // win.location.href = qrCodeUrl.value;
|
|
// window.open(qrCodeUrl.value)
|
|
// window.open(qrCodeUrl.value)
|
|
// inverRequest()
|
|
// inverRequest()
|
|
})
|
|
})
|