Fix 天气点击
This commit is contained in:
parent
0af8f0ec2e
commit
5e2fcd656a
@ -186,11 +186,11 @@ function getWeather() {
|
|||||||
getWeather();
|
getWeather();
|
||||||
|
|
||||||
$('#upWeather').click(function () {
|
$('#upWeather').click(function () {
|
||||||
if (times == 0) {
|
if (wea == 0) {
|
||||||
times = 1;
|
wea = 1;
|
||||||
var index = setInterval(function () {
|
var index = setInterval(function () {
|
||||||
times--;
|
wea--;
|
||||||
if (times == 0) {
|
if (wea == 0) {
|
||||||
clearInterval(index);
|
clearInterval(index);
|
||||||
}
|
}
|
||||||
}, 60000);
|
}, 60000);
|
||||||
|
Loading…
Reference in New Issue
Block a user