From b63b085814103cabe989d9600bc925559cc6d56d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 13 四月 2022 01:29:21 +0800
Subject: [PATCH] 2022-04-13

---
 src/views/login/index.jsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx
index 11df93c..437598a 100644
--- a/src/views/login/index.jsx
+++ b/src/views/login/index.jsx
@@ -517,13 +517,13 @@
             // res.indexlogo = res.indexlogo ? res.indexlogo.replace(/:8080/ig, '').replace(/http:/ig, 'https:') : ''
             // res.loginlogo = res.loginlogo ? res.loginlogo.replace(/:8080/ig, '').replace(/http:/ig, 'https:') : ''
 
-            if (/^https/.test(window.location.protocol)) { // https杞崲
-              res.Banner = res.Banner ? res.Banner.replace(/^http:/ig, 'https:') : ''
-              res.doclogo = res.doclogo ? res.doclogo.replace(/^http:/ig, 'https:') : ''
-              res.indexlogo = res.indexlogo ? res.indexlogo.replace(/^http:/ig, 'https:') : ''
-              res.loginlogo = res.loginlogo ? res.loginlogo.replace(/^http:/ig, 'https:') : ''
-              res.titlelogo = res.titlelogo ? res.titlelogo.replace(/^http:/ig, 'https:') : ''
-            }
+            // if (/^https/.test(window.location.protocol)) { // https杞崲
+            //   res.Banner = res.Banner ? res.Banner.replace(/^http:/ig, 'https:') : ''
+            //   res.doclogo = res.doclogo ? res.doclogo.replace(/^http:/ig, 'https:') : ''
+            //   res.indexlogo = res.indexlogo ? res.indexlogo.replace(/^http:/ig, 'https:') : ''
+            //   res.loginlogo = res.loginlogo ? res.loginlogo.replace(/^http:/ig, 'https:') : ''
+            //   res.titlelogo = res.titlelogo ? res.titlelogo.replace(/^http:/ig, 'https:') : ''
+            // }
 
             let _url = _href + 'system'
             let systemMsg = {

--
Gitblit v1.8.0