From fa45e596dae3ee67305730c54f456417844f4403 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com>
Date: Mon, 28 Oct 2024 16:23:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=85=B3=E9=97=AE=E9=A2=98=202024/8/8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/common/basic.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/common/basic.js b/src/common/basic.js
index fdfbd74e..cbb8e251 100644
--- a/src/common/basic.js
+++ b/src/common/basic.js
@@ -343,9 +343,7 @@ export function getInspectReasonList(value) {
 export function getSwitchInfoByCode(code) {
 	var isCheck = false
 	var resultInfo = ""
-	if (switchList.length == 0) {
-		switchList = uni.getStorageSync("switch")
-	}
+	switchList = uni.getStorageSync("switch")
 	
 	for (let item of switchList) {
 		if (item.code == code) {