From 32b84012bb8e2f05295c4237d17224700b149c8f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 31 十二月 2020 16:33:27 +0800
Subject: [PATCH] merge 2020-12-31

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

diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx
index 73d268e..60a630d 100644
--- a/src/views/login/index.jsx
+++ b/src/views/login/index.jsx
@@ -374,7 +374,7 @@
             window.GLOB.style = systemMsg.style
         
             if (window.GLOB.style && options.styles[window.GLOB.style]) {
-              document.getElementById('root').className = options.styles[window.GLOB.style]
+              document.body.className = options.styles[window.GLOB.style]
             }
 
             if (res.titlelogo && window.GLOB.favicon !== res.titlelogo) {

--
Gitblit v1.8.0