From 29b453d9133cb2224ff92a22d0ccb35574772525 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 27 十二月 2024 21:03:36 +0800 Subject: [PATCH] Merge branch 'positec' into bms --- src/index.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index dc68995..ffec123 100644 --- a/src/index.js +++ b/src/index.js @@ -166,6 +166,10 @@ GLOB.mainSystemApi = systemApi } + + if (config.errorLog === 'true' && /#\/(login|main|billprint|docprint|tab|iframe|view|ssologin)/.test(window.location.href)) { + GLOB.errorLog = true + } } if (/#\/hs$/.test(window.location.href)) { // hs涓嬩笉鎵撳嵃鑴氭湰 -- Gitblit v1.8.0