electron/main/index.ts
@@ -52,7 +52,7 @@ // 测试推送消息到Renderer进程 win.webContents.on('did-finish-load', () => { win?.webContents.send('main-process-message', new Date().toLocaleString()) win?.webContents.send('getConfigData',store.get('clientCode'),store.get('deviceList')) win?.webContents.send('getConfigData',store.get('clientCode'),store.get('deviceList'),store.path) }) // Make all links open with the browser, not with the application