Fix 天气点击
This commit is contained in:
parent
0af8f0ec2e
commit
5e2fcd656a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user