From cd1ce9f919db0a2d7a588cedc81ce4310c3310c4 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 18 十一月 2025 16:29:10 +0800
Subject: [PATCH] fix: PDA芯线层可以扫码单丝二维码

---
 src/pages/index/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 4e045ba..46174fc 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -250,14 +250,15 @@
   const { data } = await HomeApi.getIndex();
 
   // 鍒ゆ柇鏄惁涓哄贰妫�鍛樿鑹�
-  if (isInspector.value) {
-    // 濡傛灉鏄贰妫�鍛橈紝鏄剧ず宸℃鑿滃崟
-    navList[2].show = true;
-  } else if (data.deviceGroupName == "鏃舵晥缁�") {
+  if (data.deviceGroupName == "鏃舵晥缁�") {
     navList[1].show = true;
   } else {
     navList[0].show = true;
   }
+  if (isInspector.value) {
+    // 濡傛灉鏄贰妫�鍛橈紝鏄剧ず宸℃鑿滃崟
+    navList[2].show = true;
+  }
 };
 
 /**

--
Gitblit v1.9.3