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')