From a1830ec4bf790e3b065b08ffea8310a1a01deec4 Mon Sep 17 00:00:00 2001 From: pengqiao1993 <229619096@qq.com> Date: Thu, 30 Oct 2025 09:16:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AF=A6=E6=83=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home-page/device-list/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/home-page/device-list/index.vue b/pages/home-page/device-list/index.vue index bc3beb6..005e95c 100644 --- a/pages/home-page/device-list/index.vue +++ b/pages/home-page/device-list/index.vue @@ -84,8 +84,10 @@ type = "storage"; } else if (item.deviceType?.includes("basic") ) { type = "anything" + } else { + type = "pcs"; } - console.log(type) + if (type) { uni.setStorage({ key: 'deviceName', //本地缓存中的指定的 key