electron-vue
electron-vue copied to clipboard
enableRemoteModule :true 设置无效
trafficstars
使用remote模块时发现 remote==undefined 然后在new BrowserWindow() 主线程添加: mainWindow = new BrowserWindow({ height: 563, useContentSize: true, width: 1000, transparent: true, frame: false,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
}
}) 发现依然无效,在源.ts里也没发现有这个属性