JS_0056:JS 判断页面加载完成

1,

// // 分享时网页加载完成 自动打开模型   
// document.onreadystatechange = function () {   
//     console.log('share');
//     if(document.readyState=="complete") {    
//         console.log('shareWG');      
//         // 自动打开模型
//         setTimeout(function(){ 
//             list.forEach(function (t) {
//                 if(t._id == getParam('mod')){
//                     console.log('sharemOD');
//                     openModel(t._id, 'WG', t.url);
//                 }
//             });
//         }, 200);
//     }   
// };

 

posted @ 2022-03-19 19:27  琥珀君  阅读(75)  评论(0编辑  收藏  举报