From 402bad1e889af74bb8cd7d9024405b5cb358b7cf Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 24 二月 2023 15:43:16 +0800 Subject: [PATCH] update 优化 翻译模块 实现类使用spi文件注入 --- ruoyi-ui/src/views/login.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 2a47e85..b4e3131 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -138,6 +138,9 @@ getTenantList() { tenantList().then(res => { this.tenantList = res.data; + if (this.tenantList != null && this.tenantList.length !== 0) { + this.loginForm.tenantId = this.tenantList[0].tenantId; + } }); }, getCookie() { -- Gitblit v1.9.3