From eaa9b20544f22e1f349b3806bcb889c7781484d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Thu, 8 Feb 2024 15:03:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/client/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/client/mod.rs b/src-tauri/src/client/mod.rs index e01301d9..128a4e34 100644 --- a/src-tauri/src/client/mod.rs +++ b/src-tauri/src/client/mod.rs @@ -9,6 +9,7 @@ use tauri::{AppHandle, Manager, WindowBuilder, WindowEvent, WindowUrl}; #[tauri::command] pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) { let mut mhy_window_config = handle.config().tauri.windows.get(1).unwrap().clone(); + mhy_window_config.visible = true; if url != "" { mhy_window_config.url = WindowUrl::External(url.parse().unwrap()); } else {