曹睿
2025-06-03 665c18b68a5dedba63e00f89f763539967fb7f08
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" });
      }
    },
  });