Fix 天气点击

This commit is contained in:
底层用户 2022-07-09 11:00:45 +08:00
parent 0af8f0ec2e
commit 5e2fcd656a

View File

@ -186,11 +186,11 @@ function getWeather() {
getWeather();
$('#upWeather').click(function () {
if (times == 0) {
times = 1;
if (wea == 0) {
wea = 1;
var index = setInterval(function () {
times--;
if (times == 0) {
wea--;
if (wea == 0) {
clearInterval(index);
}
}, 60000);