From 2ab419dea878ad3fa85765dac712e49945dce454 Mon Sep 17 00:00:00 2001 From: pnoker Date: Sun, 24 May 2026 01:09:48 +0800 Subject: [PATCH] fix: update Login view layout adjustments --- src/views/login/Login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index 287513544..5f92081ce 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -100,8 +100,8 @@ const formDataRef = ref(); // 定义响应式数据 - const tenant = authStore.getTenant || 'default'; - const name = authStore.getName || 'dc3'; + const tenant = typeof authStore.getTenant === 'string' ? authStore.getTenant : 'default'; + const name = typeof authStore.getName === 'string' ? authStore.getName : 'dc3'; const reactiveData = reactive({ isHide: 'View', passwordType: 'password',