Merge pull request #221 from wewall/patch-2

优化无论何时都会调用当面付的逻辑错误
master
NimaQu 8 years ago committed by GitHub
commit 40bcae03a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -255,6 +255,7 @@
$("#qrcode").html(data.qrcode);
$("#info").html("您的订单金额为:"+data.amount+"元。");
$("#alipay").modal();
setTimeout(f, 1000);
} else {
$("#result").modal();
$("#msg").html(data.msg);
@ -290,6 +291,5 @@
});
tid = setTimeout(f, 1000); //循环调用触发setTimeout
}
setTimeout(f, 1000);
})
</script>

Loading…
Cancel
Save