From 4de489952dce2865df3448787a3ee8d8e96e3448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=BD=87=E9=98=B3?= Date: Fri, 14 Jun 2024 13:42:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPF_Cef/FrmMain.cs | 4 ++-- CPF_Cef/Parame.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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