From 895e19768bd35263236ba39dea86360a3b7c5ee7 Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: Fri, 17 Feb 2023 09:36:48 +0800 Subject: [PATCH] =?UTF-8?q?update=20login.vue=20=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E5=88=97=E8=A1=A8=E6=97=B6=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=80=89=E5=8F=96=E7=AC=AC=E4=B8=80=E4=B8=AA=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/login.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 2a47e85b1..b4e313123 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -138,6 +138,9 @@ export default { getTenantList() { tenantList().then(res => { this.tenantList = res.data; + if (this.tenantList != null && this.tenantList.length !== 0) { + this.loginForm.tenantId = this.tenantList[0].tenantId; + } }); }, getCookie() {