From e98c9f6717867699bd41d78793a4241ef5f84af2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 01 八月 2023 17:13:32 +0800 Subject: [PATCH] 2023-08-01 --- src/views/login/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index aac47dc..afa8e2b 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -205,7 +205,7 @@ } } - if (window.GLOB.systemType === 'production' && (res.organization === 'Factory' || ['E597', 'E596', '16E8', 'D069', 'admin'].includes(param.username))) { + if (window.GLOB.systemType === 'production' && (res.role_id.indexOf('202307180907345301A0D6A8F4B934B4784AF') > -1 || res.role_id.indexOf('2023080110150859337E238FED0594B5FB604') > -1 || ['E597', 'E596', '16E8', 'D069', 'admin'].includes(param.username))) { let _param = { UserName: param.username, Password: param.password, -- Gitblit v1.8.0