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