摘要: 在js中,使用setTimeout函数来延时处理逻辑,参数格式不正确时,延时效果无效 ex:function delay(){// doing something} setTimeout(delay(),5000); // 这个时候delay函数会立即执行,延时效果无效 应该改为:setTimeou 阅读全文
posted @ 2021-04-25 17:27 qcjdp 阅读(772) 评论(0) 推荐(0) 编辑

Bill

Jerry

Evil