修复:解决测试发现的问题

This commit is contained in:
2025-11-12 16:00:44 +08:00
parent 1da75a59f2
commit 1daa6367c9
29 changed files with 133 additions and 182 deletions

View File

@@ -115,11 +115,11 @@
</view>
<!-- 游客体验 -->
<view class="youke-l">
<!-- <view class="youke-l">
<view @click="onPageJump('/pages/visitor/visitor')">
{{ $t('login.noLogin') }}
</view>
</view>
</view> -->
</view>
<!-- 用户协议弹窗 -->
@@ -357,16 +357,13 @@ const onSetCode = async () => {
if (!isEmailVerified(email.value)) return false
try {
uni.showLoading()
await commonApi.sendMailCaptcha(email.value)
uni.hideLoading()
uni.showToast({
title: t('login.sendCodeSuccess'),
icon: 'none'
})
getCodeState()
} catch (error) {
uni.hideLoading()
submitClickNum.value++ // 发送验证码失败时增加提交点击次数
console.error('Send code error:', error)
}