fix 登录验证码刷新后输入不了验证码问题
This commit is contained in:
parent
3e4b18bd9a
commit
e8911e2c9f
@ -84,7 +84,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getCode() {
|
||||
this.loginForm.code = "";
|
||||
// this.loginForm.code = "";
|
||||
getCodeImg().then((res) => {
|
||||
this.codeUrl = "data:image/gif;base64," + res.data.img;
|
||||
this.loginForm.uuid = res.data.uuid;
|
||||
@ -130,7 +130,6 @@ export default {
|
||||
.catch((error) => {
|
||||
this.$message(error.msg);
|
||||
this.loading = false;
|
||||
this.loginForm.code = "";
|
||||
this.getCode();
|
||||
this.$refs.codeTxt.focus();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user