From bdfec44c9f3a37dbbe05bf14a252ffec04132a86 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 九月 2022 21:24:28 +0800 Subject: [PATCH] Merge branch 'develop' --- src/index.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index 215706f..34031a7 100644 --- a/src/index.js +++ b/src/index.js @@ -118,6 +118,10 @@ GLOB.debugger = options.sysType === 'local' && GLOB.systemType !== 'production' + if (/#\/hs$/.test(window.location.href)) { // hs涓嬩笉鎵撳嵃鑴氭湰 + GLOB.debugger = false + } + if (options.sysType !== 'cloud') { if (config.appkey === options.cakey) { document.getElementById('root').innerHTML = '<div style="text-align: center; font-size: 30px; margin-top: 40vh;">涓嶅彲浣跨敤浜戠appkey锛岃鑱旂郴绠$悊鍛橈紒</div>' @@ -271,6 +275,7 @@ window.GLOB.CacheMap = new Map() // 缂撳瓨閰嶇疆淇℃伅 window.GLOB.UserCacheMap = new Map() // 缂撳瓨鐢ㄦ埛鑷畾涔夎缃� + window.GLOB.CacheData = new Map() // 瀛樺偍閫変腑鏁版嵁 render(Route) }) -- Gitblit v1.8.0