From 78eed586f6a0d15162c89878c53a301e7b142a8a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 10 十月 2022 00:07:06 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/index.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index c9434c0..208e800 100644 --- a/src/index.js +++ b/src/index.js @@ -73,6 +73,7 @@ GLOB.watermark = config.watermark + '' !== 'false' GLOB.transfer = config.transfer + '' === 'true' GLOB.keepKey = config.keepPassword + '' !== 'false' + GLOB.nginx = config.nginx + '' === 'true' GLOB.WXAppID = config.WXAppID || '' GLOB.WXminiAppID = config.WXminiAppID || '' GLOB.accessToken = {} @@ -243,6 +244,15 @@ } } GLOB.memberLevel = _level + GLOB.mkThdMenus = [] // 涓夌骇鑿滃崟 + GLOB.mkActions = {} // 鎸夐挳鏉冮檺闆� + + if (sessionStorage.getItem('breakpoint')) { + window.debugger = true + GLOB.breakpoint = sessionStorage.getItem('breakpoint') + } else { + GLOB.breakpoint = false + } Object.defineProperty(GLOB, 'appId', { writable: false, -- Gitblit v1.8.0