This renderer process has Node.js integration enabled and attempted to load remote content from Electron的警告

 

 

这是来自Electron的一些警告问题 , 如果觉得比较麻烦碍眼可以直接去掉

 
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true' //取消警告

 放在src/renderer/main.js中就行

 

 

posted @ 2020-06-11 16:15  JGG靖哥哥  阅读(764)  评论(0)    收藏  举报