From cdd11f80cb8eff68062910ba1b74113c48d1b638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=87=E5=B3=B0?= Date: Fri, 10 Apr 2026 13:08:44 +0800 Subject: [PATCH] =?UTF-8?q?Signed-off-by:=20=E5=90=B4=E6=96=87=E5=B3=B0=20?= =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api.js | 7 ++++++ src/views/Dashboard.vue | 52 +++++++++++++++++++++++++++++++++++------ 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/src/api.js b/src/api.js index 43b4a08..e3f24c3 100644 --- a/src/api.js +++ b/src/api.js @@ -75,3 +75,10 @@ export async function triggerBacklink() { return data } +export async function fetchPriorityStatus() { + const { data } = await axios.get(`${BASE}/admin/priority/status`, { + timeout: 10000, + }) + return data +} + diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index f3ee372..9091da1 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -1,6 +1,6 @@