7 Star 89 Fork 17

荔枝来了 / 伯乐2号

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
load.js 975 Bytes
一键复制 编辑 原始数据 按行查看 历史
dasuiyuanhao 提交于 2022-10-20 01:05 . V2.1.1
/*!
* Author: dasuiyuanhao
* Date: 2020-3-20
*/
function init(){
console.info("开始加载......")
return new Promise((resolve, reject)=>{
//找到页面元素
const left_doc = ()=>
document.getElementById('main');
// async.waterfall([
// cb=>{
// async.until(
// ()=> left_doc() != null
// , cb=>console.log('waiting for 页面加载') || setTimeout(cb, 1000)
// , ()=>{
// //left_doc().querySelector('#systemName3 a').click()
// cb(null, null)
// }
// )
// }, (app_list, cb)=>{
// //加载数据
// // loadData();
// console.info("加载成功")
// }
// ], (e, r)=>e ? reject(e) : resolve(r))
console.info("加载成功......")
})
}
JavaScript
1
https://gitee.com/lizhilaile/zhaopin-boss-chrome.git
git@gitee.com:lizhilaile/zhaopin-boss-chrome.git
lizhilaile
zhaopin-boss-chrome
伯乐2号
master

搜索帮助