mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15:56 +08:00
Pre Merge pull request !199 from WenTao.Wu/bugfix/dev
This commit is contained in:
commit
e4590de489
@ -108,14 +108,13 @@ export default {
|
||||
this.getCookie();
|
||||
},
|
||||
methods: {
|
||||
getCode() {
|
||||
getCodeImg().then(res => {
|
||||
this.captchaOnOff = res.data.captchaOnOff === undefined ? true : res.data.captchaOnOff;
|
||||
if (this.captchaOnOff) {
|
||||
getCode() {
|
||||
if(this.captchaOnOff){
|
||||
getCodeImg().then(res => {
|
||||
this.codeUrl = "data:image/gif;base64," + res.data.img;
|
||||
this.loginForm.uuid = res.data.uuid;
|
||||
}
|
||||
});
|
||||
this.loginForm.uuid = res.data.uuid;
|
||||
});
|
||||
}
|
||||
},
|
||||
getCookie() {
|
||||
const username = Cookies.get("username");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user