From 325aa13d3b61d1c066f8fcab107003ef36713df3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 一月 2025 10:20:09 +0800
Subject: [PATCH] 2025-01-16

---
 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 4db7c48..bcd4613 100644
--- a/src/views/sso/index.jsx
+++ b/src/views/sso/index.jsx
@@ -57,6 +57,10 @@
       LText: `select '${window.GLOB.appkey}'`,
     }
 
+    if (window.GLOB.style_appkey) {
+      _param.style_appkey = window.GLOB.style_appkey
+    }
+
     _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
     _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)
 
@@ -103,13 +107,7 @@
 
         localStorage.setItem(window.GLOB.sysSign + 'pwdlevel', level)
 
-        if (res.srcid) {
-          localStorage.setItem(window.GLOB.sysSign + 'srcId', res.srcid)
-        } else {
-          localStorage.removeItem(window.GLOB.sysSign + 'srcId')
-        }
-
-        sessionStorage.setItem('home_background', res.index_background_color || '')
+        res.index_background_color && sessionStorage.setItem('home_background', res.index_background_color)
 
         let seconds = 0
         if (res.sys_datetime) {

--
Gitblit v1.8.0