From 9ffa654958329779e7290734173c068a6c2a278f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 三月 2021 16:41:55 +0800
Subject: [PATCH] 2021-03-02

---
 src/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/index.js b/src/index.js
index a1f9912..4f87b72 100644
--- a/src/index.js
+++ b/src/index.js
@@ -59,6 +59,7 @@
 
 // 娴嬭瘯绯荤粺鏂囦欢缃簬admin涓�
 
+// fetch(process.env.NODE_ENV === 'production' ? '../options.json' : './options.json')
 fetch('./options.json')
   .then(response => response.json())
   .catch(() => {
@@ -159,7 +160,7 @@
         GLOB.webSite = _systemMsg.webSite
         GLOB.style = _systemMsg.style
         GLOB.showline = _systemMsg.showline || ''
-        GLOB.navBar = _systemMsg.navBar || 'sidemenu'
+        GLOB.navBar = _systemMsg.navBar || ''
 
         if (GLOB.favicon) {
           let link = document.querySelector("link[rel*='icon']") || document.createElement('link')

--
Gitblit v1.8.0