From 1fd09f8ca369f93e936df04201d37f34d21dff28 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 28 二月 2023 19:57:33 +0800 Subject: [PATCH] update 优化 获取系统url存储重复问题 --- 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