💄 调整UI

This commit is contained in:
目棃
2024-11-17 12:35:15 +08:00
parent c17339bab5
commit 53f2612d32
3 changed files with 10 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ use tauri_utils::config::WebviewUrl;
pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) {
let mut win_width = 400.0;
let mut win_height = 800.0;
let win_ua = "Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/2.76.1";
let win_ua = "Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/2.77.2";
let url_parse;
if url != "" {
url_parse = WebviewUrl::External(url.parse().unwrap());