From f96f952d95930e1295051c1bfe348dd324ebf878 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Wed, 16 Jul 2025 13:38:53 +0800
Subject: [PATCH] 添加缓存

---
 src/views/my/newindex.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/my/newindex.vue b/src/views/my/newindex.vue
index 94baed5..c67deee 100644
--- a/src/views/my/newindex.vue
+++ b/src/views/my/newindex.vue
@@ -41,7 +41,7 @@
       <div class="mt-15 p-15 rounded-15 bg-#f5f7f9">
         <div v-for="(item, index) in helpItems" :key="index" class="flex items-center justify-between text-16"
           :class="{ 'mt-15': index > 0 }" @click="onRoute(item.path)">
-          <div v-if="item.button" class="flex items-center" @click="loginOut">
+          <div v-if="item.button" class="flex items-center" @click.stop="loginOut">
             <img :src="`${item.icon}`" class="w-20 h-20">
             <div class="ml-10">{{ item.title }}</div>
           </div>
@@ -201,6 +201,7 @@
   }).then(res => {
     userStore.userInfo = {}
     store.state.user.userInfo = {}
+    router.push('/login')
   })
 }
 const getIdentify = () => {

--
Gitblit v1.9.3