From a41010b847e0bf7475f7cbb26070913b7280eb75 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 14 八月 2025 15:31:57 +0800
Subject: [PATCH] fix: 灵工管理

---
 apps/bMiniApp/src/stores/modules/user.ts |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/apps/bMiniApp/src/stores/modules/user.ts b/apps/bMiniApp/src/stores/modules/user.ts
index e95ef68..3683e94 100644
--- a/apps/bMiniApp/src/stores/modules/user.ts
+++ b/apps/bMiniApp/src/stores/modules/user.ts
@@ -152,6 +152,8 @@
       try {
         this.setUserInfoAction(res);
         this.setTokenAction(res);
+        console.log('22', 22);
+        myClient.refetchQueries();
         // await this.getCurrentUserInfo();
       } catch (error) {}
     },
@@ -232,7 +234,7 @@
      */
     logout() {
       this.resetState();
-      myClient.removeQueries();
+      // myClient.removeQueries();
       goAuthorization();
     },
 

--
Gitblit v1.9.1