diff --git a/CPF_Cef/FrmMain.cs b/CPF_Cef/FrmMain.cs index dce87ed..2f65d84 100644 --- a/CPF_Cef/FrmMain.cs +++ b/CPF_Cef/FrmMain.cs @@ -89,8 +89,8 @@ namespace AksWebBrowser //浏览器大小 Parame.webBrowser.Width = w; Parame.webBrowser.Height = h; - //Parame.webBrowser.Url = "http://127.0.0.1:8096/#/main-out"; - Parame.webBrowser.Url = "http://192.168.0.34:8078/#/main-out"; + Parame.webBrowser.Url = "http://127.0.0.1:8096/#/main-out"; + //Parame.webBrowser.Url = "http://192.168.0.34:8078/#/main-out"; //Parame.webBrowser.Url = Application.StartupPath + @"\html\index.html"; //开发者工具暂时只能支持Windows //webBrowser.ShowDev(); diff --git a/CPF_Cef/Parame.cs b/CPF_Cef/Parame.cs index 186e4c6..43b336d 100644 --- a/CPF_Cef/Parame.cs +++ b/CPF_Cef/Parame.cs @@ -19,7 +19,7 @@ namespace AksWebBrowser public static Window frm { get; set; } public static List FuncObject { get; set; } //接口地址 - public static string apiUrl = "http://192.168.0.34:92";// "http://127.0.0.1:8098"; + public static string apiUrl = "http://127.0.0.1:8098";// "http://192.168.0.34:92"; //授权key public static string key = "1"; //硬件Ip