|
@@ -51,7 +51,7 @@
|
|
|
<span class="float-left color-666 cursor-pointer" v-if="tab === 2" @click="router.push(isEnterpriseLogin ? '/forgotPasswordEnt': '/forgotPassword')">忘记密码</span>
|
|
|
<span class="float-right color-error cursor-pointer text-decoration-underline" @click="router.push('/register/selected')">还没有登录账户?去注册</span>
|
|
|
</div>
|
|
|
- <v-btn :loading="loginLoading" color="primary" class="white--text mt-5" min-width="350" @click="handleLogin">
|
|
|
+ <v-btn :loading="loginLoading" color="primary" class="white--text mt-5" min-width="350" @click.stop="handleLogin">
|
|
|
{{ $t('login.login') }}
|
|
|
</v-btn>
|
|
|
<div class="login-tips mt-3">
|
|
@@ -171,7 +171,7 @@ const handleLogin = async () => {
|
|
|
console.log(err)
|
|
|
captchaStr.value = '' // 清空人机验证
|
|
|
phoneRef.value.clearCaptcha() // 清空人机验证
|
|
|
- if (!err.code) return
|
|
|
+ if (!err.code || err.message.includes('timeout')) return
|
|
|
if (err.code === 1100017022) {
|
|
|
// 密码不安全
|
|
|
router.push('/forgotPassword?forgot=1')
|