未验证 提交 510b750e 编写于 作者: Mr.奇淼('s avatar Mr.奇淼( 提交者: GitHub

Merge pull request #37 from gpYang/master

登录失败后刷新验证码
......@@ -86,13 +86,15 @@ export default {
async submitForm() {
this.$refs.loginForm.validate(async v => {
if (v) {
await this.login()
this.login()
this.loginVefify()
} else {
this.$message({
type: 'error',
message: '请正确填写登录信息',
showClose: true
})
this.loginVefify()
return false
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册