CEF加载慢的时候,加上以下代码,通过命令行的方式
CefRefPtr<CefCommandLine> command_line;
command_line = CefCommandLine::CreateCommandLine();
command_line->AppendSwitch("no-proxy-server");//关闭代理
自测在CefApp::OnBeforeCommandLineProcessing命令行代码中直接调用关闭代理即可
CEF加载慢的时候,加上以下代码,通过命令行的方式
CefRefPtr<CefCommandLine> command_line;
command_line = CefCommandLine::CreateCommandLine();
command_line->AppendSwitch("no-proxy-server");//关闭代理
自测在CefApp::OnBeforeCommandLineProcessing命令行代码中直接调用关闭代理即可