测试ios一直刷新问题
This commit is contained in:
@@ -361,7 +361,9 @@ function countup(leftTime) {
|
|||||||
$('.time .min b').text(m);
|
$('.time .min b').text(m);
|
||||||
$('.time .sec b').text(s);
|
$('.time .sec b').text(s);
|
||||||
} else {
|
} else {
|
||||||
location.reload();
|
// location.reload();
|
||||||
|
console.log('时间到');
|
||||||
|
|
||||||
}
|
}
|
||||||
if (leftTime > 0) {
|
if (leftTime > 0) {
|
||||||
leftTime = leftTime - 1000;
|
leftTime = leftTime - 1000;
|
||||||
|
Reference in New Issue
Block a user