js如何判断网页是否全部加载完成

2025-03-24 02:23:07
推荐回答(1个)
回答1:

window.onload = function(){
//此时图片和外部导入的js css都已经加载完毕

}