曹睿
2025-05-21 fe6dbaaefef6dd9bb4a1ee26df8ad8b451500a10
src/pages/mine/index.vue
@@ -211,9 +211,9 @@
      </view>
    </view> -->
    <!-- <view v-if="isLogin" class="logout-btn-container">
    <view v-if="isLogin" class="logout-btn-container">
      <wd-button class="logout-btn" @click="handleLogout">退出登录</wd-button>
    </view> -->
    </view>
    <wd-toast />
  </view>
@@ -252,6 +252,7 @@
      if (res.confirm) {
        userStore.logout();
        toast.show("已退出登录");
        uni.reLaunch({ url: "/pages/login/index" });
      }
    },
  });