Merge pull request #6 from LightCountry/master

修复如果过期时间(order_expiration_time)设置为大于60时,倒计时显示错误的bug
pull/7/head
ashang 4 years ago committed by GitHub
commit b2e33a7601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -181,6 +181,7 @@
let second = Math.round(ms / 1000);
let minute = Math.floor(second / 60);
let hour = Math.floor(minute / 60);
if(minute > 60) minute %= 60
if (ms <= 0) {
layer.alert("支付超时,请重新发起支付!", {icon: 5});
return;
@ -240,4 +241,4 @@
});
}
window.onload = checkOrderStatus();
</script>
</script>

Loading…
Cancel
Save