document.onreadystatechange=move; function move(){ console.log(document.readyState) //首先出现的是interactive //然后加载完毕complete }
个人建议放到</body>上面
document.onreadystatechange=move; function move(){ console.log(document.readyState) //首先出现的是interactive //然后加载完毕complete }
个人建议放到</body>上面
转载于:https://www.cnblogs.com/love314159/p/7611781.html