Merge pull request #6 from LightCountry/master

修复如果过期时间(order_expiration_time)设置为大于60时,倒计时显示错误的bug
This commit is contained in:
ashang
2022-07-05 10:30:10 +08:00
committed by GitHub
+1
View File
@@ -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;