摘要: 数据传递(旧) 渲染进程发数据到主进程 // 按钮事件 const handleWebRootPathClick = () => { ipcRenderer.send('open_dir') } // main.ts中接收 ipcMain.on('open_dir', () => { console 阅读全文
posted @ 2023-11-10 15:26 不随。 阅读(299) 评论(0) 推荐(0) 编辑