From 42232f310806fd8118cfb627f6e90e4c11bae26a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 27 四月 2022 15:55:40 +0800 Subject: [PATCH] 2022-04-27 --- 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