document.onreadystatechange=move; function move(){ console.log(document.readyState) //首先出现的是interactive //然后加载完毕complete }
个人建议放到</body>上面
document.onreadystatechange=move; function move(){ console.log(document.readyState) //首先出现的是interactive //然后加载完毕complete }
个人建议放到</body>上面