From 86425e396ce1cf1c930357416b8e79451b77e82c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 13 六月 2024 15:41:34 +0800 Subject: [PATCH] 2024-06-13 --- src/utils/utils-custom.js | 2 +- src/views/login/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/utils-custom.js b/src/utils/utils-custom.js index 16fba25..3dd8fbb 100644 --- a/src/utils/utils-custom.js +++ b/src/utils/utils-custom.js @@ -629,7 +629,7 @@ }) } - if (item.setting && item.setting.supModule && item.setting.supModule[0] !== 'empty') { + if (item.setting && item.setting.supModule && item.setting.supModule[0] !== 'empty' && item.setting.supModule[0] !== 'preview') { item.setting.supModule = item.setting.supModule.map(c => { return md5(commonId + c) }) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index 2ce42a1..e634a4b 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -582,7 +582,7 @@ if (!res) return if (res.status) { - if (window.GLOB.sysType === 'local' && window.GLOB.systemType !== 'production') { + if (res.member_type && window.GLOB.sysType === 'local' && window.GLOB.systemType !== 'production') { if (md5(('mk' + appkey + res.sys_datetime + res.member_type + res.registry_date).toLowerCase()) !== res.secret_key) { Modal.warning({ title: '瀵嗛挜閿欒锛岃鑱旂郴绠$悊鍛橈紒', -- Gitblit v1.8.0