From c21e92c3a5223501142909756539911b2988946b Mon Sep 17 00:00:00 2001 From: lanyeeee Date: Sat, 7 Feb 2026 04:21:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=86=E9=85=8D=E7=BD=AE=E4=B8=AD?= =?UTF-8?q?=E7=9A=84`=E4=B8=8B=E8=BD=BD=E9=80=9F=E5=BA=A6`=E5=92=8C`?= =?UTF-8?q?=E4=BB=A3=E7=90=86`=E5=90=88=E5=B9=B6=E4=B8=BA`=E7=BD=91?= =?UTF-8?q?=E7=BB=9C`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dialogs/SettingsDialog/SettingsDialog.vue | 10 +- .../components/DownloadSpeedSettings.vue | 77 ------------- .../components/NetworkSettings.vue | 108 ++++++++++++++++++ .../components/ProxySettings.vue | 38 ------ 4 files changed, 111 insertions(+), 122 deletions(-) delete mode 100644 src/dialogs/SettingsDialog/components/DownloadSpeedSettings.vue create mode 100644 src/dialogs/SettingsDialog/components/NetworkSettings.vue delete mode 100644 src/dialogs/SettingsDialog/components/ProxySettings.vue diff --git a/src/dialogs/SettingsDialog/SettingsDialog.vue b/src/dialogs/SettingsDialog/SettingsDialog.vue index 4203b4d..ee154da 100644 --- a/src/dialogs/SettingsDialog/SettingsDialog.vue +++ b/src/dialogs/SettingsDialog/SettingsDialog.vue @@ -5,9 +5,8 @@ import { path } from '@tauri-apps/api' import { appDataDir } from '@tauri-apps/api/path' import { useStore } from '../../store.ts' import DownloadSettings from './components/DownloadSettings.vue' -import ProxySettings from './components/ProxySettings.vue' import FmtSettings from './components/FmtSettings.vue' -import DownloadSpeedSettings from './components/DownloadSpeedSettings.vue' +import NetworkSettings from './components/NetworkSettings.vue' import AssDanmakuSettings from './components/AssDanmakuSettings.vue' import { useMessage } from 'naive-ui' @@ -64,11 +63,8 @@ async function showConfigInFileManager() { - - - - - + + diff --git a/src/dialogs/SettingsDialog/components/DownloadSpeedSettings.vue b/src/dialogs/SettingsDialog/components/DownloadSpeedSettings.vue deleted file mode 100644 index c860922..0000000 --- a/src/dialogs/SettingsDialog/components/DownloadSpeedSettings.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/src/dialogs/SettingsDialog/components/NetworkSettings.vue b/src/dialogs/SettingsDialog/components/NetworkSettings.vue new file mode 100644 index 0000000..9bb6568 --- /dev/null +++ b/src/dialogs/SettingsDialog/components/NetworkSettings.vue @@ -0,0 +1,108 @@ + + + diff --git a/src/dialogs/SettingsDialog/components/ProxySettings.vue b/src/dialogs/SettingsDialog/components/ProxySettings.vue deleted file mode 100644 index bcdbd41..0000000 --- a/src/dialogs/SettingsDialog/components/ProxySettings.vue +++ /dev/null @@ -1,38 +0,0 @@ - - -