Commit 7455a333 by 张立顺

fix 登录逻辑

1 parent 7f914200
...@@ -228,11 +228,19 @@ export default { ...@@ -228,11 +228,19 @@ export default {
title: '登录成功', title: '登录成功',
icon: 'none' icon: 'none'
}) })
this.passwordInfo.type === 'reset' && if (this.passwordInfo.type === 'reset') {
if (result.loginStatus != 1) {
// 返回状态不对就要验证码错误
return uni.showToast({
title: '验证码错误',
icon: 'none'
})
}
uni.showToast({ uni.showToast({
title: '重置密码成功', title: '重置密码成功',
icon: 'none' icon: 'none'
}) })
}
this.$emit('close') this.$emit('close')
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!