electron 中webview 显示空白问题
webview 显示空白问题
<webview src="https://www.baidu.com" style="position: fixed;width: 100%;height: 100%"></webview>
mainWindow = new BrowserWindow({
width:600,
height:800,
webPreferences:{
nodeIntegration:true, //启用Node继承
原创
2020-10-21 11:23:35 ·
1114 阅读 ·
0 评论