var timer = setInterval(function () {
// 判断文档和所有子资源(图片、音视频等)已完成加载
if (document.readyState === 'complete') {
that.loadall = true
}
}, 500)
var timer = setInterval(function () {
// 判断文档和所有子资源(图片、音视频等)已完成加载
if (document.readyState === 'complete') {
that.loadall = true
}
}, 500)