From 9716fc2115242fb25c353ddba943021e33566200 Mon Sep 17 00:00:00 2001 From: 237899745 <237899745@users.noreply.git.workyai.cn> Date: Sat, 25 Jul 2026 16:46:45 +0800 Subject: [PATCH] ui: simplify storage endpoint page --- frontend/src/pages/admin/AdminStoragePage.vue | 53 ------------------- 1 file changed, 53 deletions(-) diff --git a/frontend/src/pages/admin/AdminStoragePage.vue b/frontend/src/pages/admin/AdminStoragePage.vue index b1d4e51..1df9b14 100644 --- a/frontend/src/pages/admin/AdminStoragePage.vue +++ b/frontend/src/pages/admin/AdminStoragePage.vue @@ -19,9 +19,6 @@ const auth = useAuthStore() const loading = ref(true) const error = ref(null) const message = ref(null) -const activeBackend = ref<'local' | 's3'>('local') -const localObjectCount = ref(0) -const localStoredBytes = ref(0) const endpoints = ref([]) const editingId = ref(null) const formOpen = ref(false) @@ -68,9 +65,6 @@ async function loadEndpoints(clearError = true) { try { const response = await listStorageEndpoints(auth.token) endpoints.value = response.endpoints - activeBackend.value = response.active_backend - localObjectCount.value = response.local_object_count - localStoredBytes.value = response.local_stored_bytes } catch (err) { error.value = errorText(err, '加载存储配置失败') } finally { @@ -224,36 +218,6 @@ onMounted(loadEndpoints)