From 5f69e3bf213ccc377dc118b89bb8db348eafbc1d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 24 十二月 2024 22:36:03 +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 6fd215a..969f8b0 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