From df61879a06a421a06bbf2f9e92ec265b9572cbf6 Mon Sep 17 00:00:00 2001 From: chenqi Date: Fri, 19 Jun 2026 23:43:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(mobile):=20=E6=B7=BB=E5=8A=A0API=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=A4=84=E7=90=86=E5=92=8C=E8=B6=85=E6=97=B6=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- healthlink-his-mobile/src/views/Login.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/healthlink-his-mobile/src/views/Login.vue b/healthlink-his-mobile/src/views/Login.vue index 33039e643..cab90222d 100644 --- a/healthlink-his-mobile/src/views/Login.vue +++ b/healthlink-his-mobile/src/views/Login.vue @@ -51,7 +51,10 @@ const loadTenants = async () => { currentTenantName.value = tenantOptions.value[0].label } } - } catch (e) { console.error(e) } + } catch (e) { + console.error('加载租户失败:', e) + errorMsg.value = '无法连接服务器,请检查网络' + } } const onTenantChange = () => {