electron-vue icon indicating copy to clipboard operation
electron-vue copied to clipboard

enableRemoteModule :true 设置无效

Open liuguofeng-java opened this issue 4 years ago • 0 comments
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里也没发现有这个属性

liuguofeng-java avatar Apr 10 '21 03:04 liuguofeng-java