From 84fff2a2002e3ab601fd52ce207c99114e9b9b8d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 24 十二月 2024 23:00:07 +0800
Subject: [PATCH] 2024-12-24

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