![](/img/trans.png)
[英]i have html code with JS in it, i have a problem that the submit button not giving me an alert window, can you correct my code?
[英]Load html in window , what the substitute for thus code ,it keep giving me security alert
它一直给我这个,它不会在主窗口上加载任何东西
电子安全警告(不安全的内容安全策略)此渲染器进程没有设置内容安全策略或启用了“不安全评估”的策略。 这使此应用程序的用户面临不必要的安全风险。
mainWindow.loadURL(url.format({
pathname: path.join(__dirname, 'mainWindow.html'),
protocol: 'file:',
slashes:true
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.