From c0b08fc2da9a3c1195e310327f2785b18f05f54e Mon Sep 17 00:00:00 2001 From: huk Date: Mon, 15 Sep 2025 15:35:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor(login):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=A7=9F=E6=88=B7=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 login.vue 文件中注释掉了 onMounted 中的 initTenantList() 方法- 在 Navbar.vue 文件中移除了与租户选择相关的 v-if条件中的 userId === 1判断。所有用户均可使用动态切换租户的功能 --- src/layout/components/Navbar.vue | 2 +- src/views/login.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 4ef7c00..b480d2e 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -7,7 +7,7 @@