From d823c59ba0b5f73e06c90d8bcae4dd25f5dfab64 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 07 九月 2023 17:18:02 +0800
Subject: [PATCH] Merge branch 'master' into positec

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

diff --git a/src/index.js b/src/index.js
index 53cadc4..120b285 100644
--- a/src/index.js
+++ b/src/index.js
@@ -110,18 +110,6 @@
       GLOB.mainSystemApi = ''
     }
 
-    if (/#\/hs$/.test(window.location.href)) { // hs涓嬩笉鎵撳嵃鑴氭湰
-      GLOB.debugger = false
-
-      if (GLOB.mainSystemApi) {
-        GLOB.localSystemApi = GLOB.mainSystemApi
-        GLOB.mainSystemApi = ''
-      }
-      if (GLOB.cloudServiceApi) {
-        GLOB.mainSystemApi = GLOB.cloudServiceApi
-      }
-    }
-
     if (GLOB.sysType !== 'cloud') {
       if (config.appkey === options.cakey) {
         document.getElementById('root').innerHTML = '<div style="text-align: center; font-size: 30px; margin-top: 40vh;">涓嶅彲浣跨敤浜戠appkey锛岃鑱旂郴绠$悊鍛橈紒</div>'
@@ -153,6 +141,18 @@
       }
     }
 
+    if (/#\/hs$/.test(window.location.href)) { // hs涓嬩笉鎵撳嵃鑴氭湰
+      GLOB.debugger = false
+
+      if (GLOB.mainSystemApi) {
+        GLOB.localSystemApi = GLOB.mainSystemApi
+        GLOB.mainSystemApi = ''
+      }
+      if (GLOB.cloudServiceApi) {
+        GLOB.mainSystemApi = GLOB.cloudServiceApi
+      }
+    }
+
     let _href = window.location.href.split('#')[0]
     let _systemMsg = localStorage.getItem(_href + 'system')
     let className = 'mk-blue-black'

--
Gitblit v1.8.0