Electron中提示:Refused to execute inline event handler because it violates

场景 在Electron中点击index.html中的button按钮时想要其触发renderer.js的方法。html 在index.html中编程 <button onclick="getProcessInfo()">查看Process信息</button> 在js中.net function getProcessInfo() {     console.log("getProcessInfo
相关文章
相关标签/搜索