From 6cfa09d14be8da71c29a73886d74231fcfcc6bda Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Sun, 28 Dec 2025 09:08:22 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E8=B0=83=E6=95=B4=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/config.rs | 6 +- src/App.vue | 73 ++++++++------- src/components/ResizablePanels.vue | 138 +++++++++++++++++++++++++++++ 3 files changed, 181 insertions(+), 36 deletions(-) create mode 100644 src/components/ResizablePanels.vue diff --git a/src-tauri/src/config.rs b/src-tauri/src/config.rs index b850fe0..b4dd2c4 100644 --- a/src-tauri/src/config.rs +++ b/src-tauri/src/config.rs @@ -59,7 +59,7 @@ impl Default for AppConfig { space_dot_omission: Some(false), }), environment_mirror: Some(EnvironmentMirrorConfig { - enabled: Some(true), + enabled: Some(false), base_url: Some("http://cdn.global.devlive.top".to_string()), fallback_enabled: Some(false), }), @@ -129,7 +129,7 @@ impl ConfigManager { // 检查并设置 environment_mirror 默认配置 if config.environment_mirror.is_none() { config.environment_mirror = Some(EnvironmentMirrorConfig { - enabled: Some(true), + enabled: Some(false), base_url: Some("http://cdn.global.devlive.top".to_string()), fallback_enabled: Some(false), }); @@ -242,7 +242,7 @@ impl ConfigManager { space_dot_omission: Some(false), }), environment_mirror: Some(EnvironmentMirrorConfig { - enabled: Some(true), + enabled: Some(false), base_url: Some("http://cdn.global.devlive.top".to_string()), fallback_enabled: Some(false), }), diff --git a/src/App.vue b/src/App.vue index 9e7c588..4499914 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,43 +12,49 @@ @load-example="loadExample"> -
- -
-
-
- -

{{ getLanguageDisplayName(currentLanguage) }} 代码编辑器

+
+ +