From 2292d1826e69e21c8a411c217faef635fe57d458 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 一月 2021 10:48:49 +0800 Subject: [PATCH] Merge branch 'bms' of ssh://39.106.218.81:29418/~jinfei/pc-plat into bms --- src/index.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/index.js b/src/index.js index a640f39..0aa0bb3 100644 --- a/src/index.js +++ b/src/index.js @@ -162,6 +162,7 @@ GLOB.doclogo = _systemMsg.doclogo GLOB.webSite = _systemMsg.webSite GLOB.style = _systemMsg.style + GLOB.showline = _systemMsg.showline || '' if (GLOB.favicon) { let link = document.querySelector("link[rel*='icon']") || document.createElement('link') @@ -171,7 +172,7 @@ document.getElementsByTagName('head')[0].appendChild(link) } if (GLOB.style && options.styles[GLOB.style]) { - document.body.className = options.styles[GLOB.style] + document.body.className = options.styles[GLOB.style] + ' ' + (GLOB.showline === 'false' ? 'hidden-split-line' : '') } } catch { console.warn('Parse Failure') -- Gitblit v1.8.0