解决方法: https://stackoverflow.com/questions/37614054/loadurl-is-not-working-in-electron 将loadUrl()改为loadURL() 相关文章: