topcss opened this issue 6 years ago · 0 comments
function sleep(d){ for(var t = Date.now();Date.now() - t <= d;){} } sleep(5000); //当前方法暂停5秒