解决下拉刷新JS错误