From 8e36cf0540a398cc48ee96cdc4e294f57300a700 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 16 十二月 2025 15:02:38 +0800
Subject: [PATCH] 首页权限跳转多次登录页问题

---
 utils/storage.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/utils/storage.js b/utils/storage.js
index c921329..6a6dfa1 100644
--- a/utils/storage.js
+++ b/utils/storage.js
@@ -26,6 +26,15 @@
   getHotWords() {
     return uni.getStorageSync(`hotWords`);
   },
+  getPopupShow(){
+    if (uni.getStorageSync(`popupShow`) === "" || uni.getStorageSync(`popupShow`) === undefined) {
+      return true;
+    }
+    return uni.getStorageSync(`popupShow`);
+  },
+  setPopupShow(val){
+    uni.setStorageSync("popupShow",val);
+  },
   //鍐欏叆 灞曠ず杩樻槸涓嶅睍绀�
   setShow(val) {
     uni.setStorageSync("show", val);

--
Gitblit v1.8.0