From 3728c728f6106b14e2149bcc7f45de437460c71f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 27 十二月 2024 21:27:25 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/index.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/index.js b/src/index.js
index 3e60879..a1157c3 100644
--- a/src/index.js
+++ b/src/index.js
@@ -179,6 +179,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