From ca73a173f008c8d7a9d700bad897ca24fe2d2203 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 16 十月 2023 09:29:57 +0800
Subject: [PATCH] 111

---
 screen_standard/src/App.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/screen_standard/src/App.vue b/screen_standard/src/App.vue
index 2aef7b1..4c3da68 100644
--- a/screen_standard/src/App.vue
+++ b/screen_standard/src/App.vue
@@ -5,7 +5,8 @@
 
 const enterprise = useCounterStore()
 // const route = useRoute()
-let query = window.location.href.split('?')[1].split('&')
+let queryStr = window.location.href.split('?')[1]||''
+let query = queryStr.split('&')||[]
 let data = { companyId: enterprise.companyId }
 query.forEach(item => {
   let subQuery = item.split('=')

--
Gitblit v1.9.3