摘要:
async function createWindow() { // 注入小段css文件 // mainWindow.webContents.insertCSS(" body,html { -webkit-app-region: drag !important;}") // body,html { 阅读全文
posted @ 2022-08-17 14:43
阿术阿术
阅读(304)
评论(0)
推荐(0)
摘要:
1 async function createWindow() { 2 // 注入小段css文件 3 // mainWindow.webContents.insertCSS(" body,html { -webkit-app-region: drag !important;}") 4 // body 阅读全文
posted @ 2022-08-17 14:36
阿术阿术
阅读(1608)
评论(0)
推荐(0)
摘要:
1 readLocalFile(fileUrl) { 2 let xhr = null 3 if (window.XMLHttpRequest) { 4 xhr = new XMLHttpRequest() 5 } else { 6 // eslint-disable-next-line 7 xhr 阅读全文
posted @ 2022-08-17 14:29
阿术阿术
阅读(521)
评论(0)
推荐(0)
浙公网安备 33010602011771号