From 63308f94601f7af331791658fd42a07705db23b6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 28 四月 2022 11:43:06 +0800
Subject: [PATCH] Merge branch 'master' into bms

---
 src/views/sso/index.jsx |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/views/sso/index.jsx b/src/views/sso/index.jsx
index 03a7c03..8847f11 100644
--- a/src/views/sso/index.jsx
+++ b/src/views/sso/index.jsx
@@ -65,13 +65,11 @@
 
     Api.getSystemConfig(_param).then(res => {
       if (res.status) {
-        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:') : ''
-        }
+        // positecgroup
+        // res.Banner = res.Banner ? res.Banner.replace(/:8080/ig, '').replace(/http:/ig, 'https:') : ''
+        // res.doclogo = res.doclogo ? res.doclogo.replace(/:8080/ig, '').replace(/http:/ig, 'https:') : ''
+        // 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:') : ''
 
         const _href = window.location.href.split('#')[0]
         let _url = _href + 'system'

--
Gitblit v1.8.0