From 34e7681fd12b1c4e4994d3bea1a553870e10bc50 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 11 三月 2023 17:58:54 +0800 Subject: [PATCH] 2023-03-11 --- src/index.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/index.js b/src/index.js index bf9a423..f7ee9b8 100644 --- a/src/index.js +++ b/src/index.js @@ -133,7 +133,10 @@ GLOB.mainSystemApi = 'https://cloud.positecgroup.com/webapi/dostars' - // GLOB.mainSystemApi = 'http://sso.mk9h.cn/cloud/webapi/dostars' + // GLOB.mainSystemApi = 'https://sso.mk9h.cn/cloud/webapi/dostars' + // if (!/^https/.test(window.location.protocol)) { // https杞崲 + // GLOB.mainSystemApi = 'http://sso.mk9h.cn/cloud/webapi/dostars' + // } if (GLOB.watermark) { GLOB.dataFormat = true @@ -213,6 +216,11 @@ } catch (e) { console.warn('Parse Failure') } + } + + // 涓嶄娇鐢ㄧ櫨鍙剁獥鎵撳紑鑿滃崟鏃讹紝鍘绘帀鍚堝苟鏍囪 + if (GLOB.navBar !== 'shutter') { + localStorage.removeItem('collapse') } document.body.className = className @@ -310,6 +318,7 @@ }) window.GLOB.CacheMap = new Map() // 缂撳瓨閰嶇疆淇℃伅 + window.GLOB.CacheVoucher = new Map() // 缂撳瓨鍑瘉淇℃伅 window.GLOB.UserCacheMap = new Map() // 缂撳瓨鐢ㄦ埛鑷畾涔夎缃� window.GLOB.CacheData = new Map() // 瀛樺偍閫変腑鏁版嵁 -- Gitblit v1.8.0