From db06292ea35d239c71af7e45f64cae0018d2f0bd Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 19 Mar 2022 18:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=95=8C=E9=9D=A2=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=90=8E=E7=BB=AD=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/views/login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-ui-admin/src/views/login.vue b/yudao-ui-admin/src/views/login.vue index 1031d9dc3..5c892ce0e 100644 --- a/yudao-ui-admin/src/views/login.vue +++ b/yudao-ui-admin/src/views/login.vue @@ -87,7 +87,7 @@ export default { // debugger getTenantIdByName(value).then(res => { const tenantId = res.data; - if (tenantId >= 0) { + if (tenantId && tenantId >= 0) { // 设置租户 Cookies.set("tenantId", tenantId); callback();