From c3f12d1521db0f81f9c32af28e3c57e828cccddc Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Tue, 30 Jun 2026 00:55:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AB=99=E7=82=B9=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=94=B9=E4=B8=BA=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/Sites.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/web/src/views/Sites.vue b/web/src/views/Sites.vue index bb5de5e..49bbac5 100644 --- a/web/src/views/Sites.vue +++ b/web/src/views/Sites.vue @@ -36,7 +36,9 @@ - + + + @@ -58,6 +60,16 @@ const loading = ref(false) const editVisible = ref(false) const saving = ref(false) const editForm = ref({ id: null, siteId: '', name: '', baseUrl: '', siteType: '', description: '' }) +const siteTypes = [ + { value: 'nexusphp', label: 'NexusPHP' }, + { value: 'mtorrent', label: 'MTorrent' }, + { value: 'mteam', label: 'M-Team API' }, + { value: 'pttime', label: 'PTTime' }, + { value: 'gazelle', label: 'Gazelle' }, + { value: 'unit3d', label: 'UNIT3D' }, + { value: 'jsonapi', label: 'JSON API' }, + { value: 'unknown', label: '未知' }, +] const fetchSites = async () => { loading.value = true