From 8eebd3b823c2e477f949b7f06b6e972ec09327df Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 22 八月 2023 14:27:22 +0800
Subject: [PATCH] 工序 接口调试

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