electron
watts_j
体验技术
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Electron在react中的进程间的通信
在react中使用electronconst {remote, ipcRenderer} = window.require('electron')// 调用此js文件,引入需要的实例等export { remote, ipcRenderer}ipcMain从主进程到渲染进程的异步通信。1.同步 、通过returnValue将此设置为在一个同步消息中返...原创 2019-05-20 09:49:54 · 2735 阅读 · 0 评论 -
Electron对磁盘文件的处理
首先、选中文件使用:electron的remote模块的dialog const onImport = () => { const { dialog } = remote let that = this dialog.showOpenDialog({title: '你好,文件导入', filters: [{name: 'wallet', e...原创 2019-05-20 18:44:57 · 1775 阅读 · 0 评论
分享