mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
修复如果过期时间(order_expiration_time)设置为大于60时,倒数计显示错误的bug
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user