mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
@@ -236,7 +236,8 @@ export default {
|
|||||||
},
|
},
|
||||||
getCode() {
|
getCode() {
|
||||||
getCodeImg().then((res) => {
|
getCodeImg().then((res) => {
|
||||||
this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
|
//this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
|
||||||
|
this.captchaOnOff = res.captchaEnabled;
|
||||||
if (this.captchaOnOff) {
|
if (this.captchaOnOff) {
|
||||||
this.codeUrl = 'data:image/gif;base64,' + res.img;
|
this.codeUrl = 'data:image/gif;base64,' + res.img;
|
||||||
this.loginForm.uuid = res.uuid;
|
this.loginForm.uuid = res.uuid;
|
||||||
|
|||||||
Reference in New Issue
Block a user