From 7b9e5eecd148ed819f9fb819a4507f263eaa4533 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 27 四月 2022 16:09:34 +0800
Subject: [PATCH] Merge branch 'develop'

---
 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