|
@@ -191,13 +191,13 @@ export default {
|
|
|
|
|
|
},
|
|
|
getCode() {
|
|
|
- getCodeImg().then(res => {
|
|
|
- this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
|
|
|
- if (this.captchaOnOff) {
|
|
|
- this.codeUrl = "data:image/gif;base64," + res.img;
|
|
|
- this.loginForm.uuid = res.uuid;
|
|
|
- }
|
|
|
- });
|
|
|
+ // getCodeImg().then(res => {
|
|
|
+ // this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
|
|
|
+ // if (this.captchaOnOff) {
|
|
|
+ // this.codeUrl = "data:image/gif;base64," + res.img;
|
|
|
+ // this.loginForm.uuid = res.uuid;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
},
|
|
|
getCookie() {
|
|
|
const username = Cookies.get("username");
|