1. 重复注册了setInterval,执行定时器前先清除 2. 重复声明了变量,多个地方调用同一个定时器,只需要声明一次即可要注意 转载于:https://www.cnblogs.com/sphjy/p/11442682.html