fix: 🐛 登录重复跳转两次问题修复

This commit is contained in:
Ray.Hao
2024-12-04 00:46:59 +08:00
parent b48499ec58
commit efe189bcc3
2 changed files with 28 additions and 16 deletions

View File

@@ -17,7 +17,7 @@
<view class="text-28rpx mt2">{{ userInfo?.username }}</view>
</view>
<!-- 未登录 -->
<view v-else @click="navigateToLoginPage">
<view v-else>
<view class="login-tip">您还未登录请先登录</view>
<view class="w120rpx mt-2">
<button class="login-btn" @click="navigateToLoginPage">登录</button>