From 6467e4115c5284a15f393e3dd2ffb07ebd2a96d6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 28 十二月 2020 18:31:48 +0800 Subject: [PATCH] 2020-12-28 --- 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 6f87a0d..d2f6bf9 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -341,7 +341,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