上一页 1 2 3 4 5 6 7 8 9 ··· 69 下一页
摘要: 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 阅读(293) 评论(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 阅读(176) 评论(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 阅读(162) 评论(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 阅读(445) 评论(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 阅读(113) 评论(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 阅读(64) 评论(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 阅读(269) 评论(0) 推荐(0)
摘要: import { defineConfig } from '@umijs/max'; export default defineConfig({ antd: { }, access: {}, model: {}, initialState: {}, request: {}, layout: fals 阅读全文
posted @ 2022-08-08 17:47 zyip 阅读(3712) 评论(0) 推荐(0)
摘要: 服务端配置 [common] bind_port = 8870 'security configuration info authentication_method = token authenticate_new_work_conns = true tls_enable = true token 阅读全文
posted @ 2022-06-21 16:19 zyip 阅读(93) 评论(0) 推荐(0)
摘要: let node = document.body; // or document.getElementById('nodeid') var mutationObserver = new MutationObserver(function(mutations) { mutations.forEach( 阅读全文
posted @ 2020-12-12 12:39 zyip 阅读(104) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 69 下一页