我试图用https://trello.com加载win.loadURL('https://trello.com');,这很好,但是登录页面上写着
Your browser was unable to load all of Trello's resources. They may have been blocked by your firewall, proxy or browser configuration.
Try refreshing the page and if that doesn't work, check out our troubleshooting guide.我试过:
控制台中没有显示任何内容,当我使用< webview >标记时,它似乎工作得很好。根据一篇Trello文章,它试图从其中加载资源的urls是:d78fikflryjgj.cloudfront.net,d2k1ftgv7pobq7.cloudfront.net或a.trellocdn.com
发布于 2020-02-22 12:45:56
mainWindow = new BrowserWindow({
width: 600,
height: 600,
webPreferences: {
contextIsolation: true
}
})在创建新的contextIsolation:true时添加此BrowserWindow
https://stackoverflow.com/questions/60350622
复制相似问题