12 2022 档案

摘要:npm install -g wpsjs wpsjs create HelloWps cd HelloWps npm update --save-dev wps-jsapi wpsjs debugwpsjs buildwpsjs publish //package.jsonadd two rules 阅读全文
posted @ 2022-12-21 09:48 zyip 阅读(541) 评论(0) 推荐(0)
摘要:function sleep(interval:number) { return new Promise( resolve => { setTimeout(resolve, interval) }) } async function _query (name: any, id: any) { //a 阅读全文
posted @ 2022-12-20 11:17 zyip 阅读(295) 评论(0) 推荐(0)
摘要:import sql from 'mssql' async function query(sqlTxt:string){ let config = "Server=localhost,1433;Database=db1;User Id=sa;Password=sa;Trusted_Connectio 阅读全文
posted @ 2022-12-20 11:14 zyip 阅读(177) 评论(0) 推荐(0)
摘要:import puppeteer from 'puppeteer' const browser = await puppeteer.launch({headless: false}) const page = await browser.newPage() await page.setDefault 阅读全文
posted @ 2022-12-20 11:13 zyip 阅读(167) 评论(0) 推荐(0)
摘要:// import puppeteer from 'puppeteer' // https://github.com/SheetJS/sheetjs import reader from 'xlsx' const file = reader.readFile('D:\\doc\\名单.xlsx', 阅读全文
posted @ 2022-12-20 11:10 zyip 阅读(446) 评论(0) 推荐(0)
摘要:async function exec (adbCmd:string) { let adbPath = 'D:\\prog\\adb\\windows\\adb.exe' let cmdMsg = await new Promise((resolve, reject) => { const chil 阅读全文
posted @ 2022-12-20 11:08 zyip 阅读(114) 评论(0) 推荐(0)
摘要:# dev = connect_device("Android:///") connect_device("Android:///") dev = device() phone = '13800138000' msg = 'hello world' def sendMsg(phone, msg): 阅读全文
posted @ 2022-12-20 11:06 zyip 阅读(66) 评论(0) 推荐(0)
摘要:adb shell service call phone 1 s16 10000 adb shell am start -a android.intent.action.CALL -d tel:10000 多设备时指定设备 adb -s AKGR9K2328903606 shell am start 阅读全文
posted @ 2022-12-11 15:28 zyip 阅读(276) 评论(0) 推荐(0)