From f39a4039b22ed64f16591fd460f63b914cb70a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz=F0=9F=8C=99?= Date: Thu, 3 Oct 2024 19:41:35 +0800 Subject: [PATCH] =?UTF-8?q?[+]=20=E6=B7=BB=E5=8A=A0=E9=9A=A7=E9=81=93?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=BA=E7=A9=BA=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/proxies/ProxiesView.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/proxies/ProxiesView.vue b/src/views/proxies/ProxiesView.vue index d819e96..4f99469 100644 --- a/src/views/proxies/ProxiesView.vue +++ b/src/views/proxies/ProxiesView.vue @@ -547,8 +547,10 @@ async function initList() { if (rs2.status === 200) { proxiesList.value = rs2.data.list loading.value = false + } else if (rs2.status === 404) { + sendErrorMessage('你还没有隧道,先创建一个吧?') } else { - return rs2.data + sendErrorMessage(rs2.message) } }