mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
update yudao-ui-admin-uniapp/pages/login.vue.
代码的 getCode是错的,captchaEnable
This commit is contained in:
parent
ffa2850a22
commit
4e0e3655f6
@ -67,8 +67,8 @@
|
|||||||
getCode() {
|
getCode() {
|
||||||
getCodeImg().then(res => {
|
getCodeImg().then(res => {
|
||||||
res = res.data;
|
res = res.data;
|
||||||
this.captchaEnable = res.enable;
|
this.captchaEnabled = res.enable;
|
||||||
if (this.captchaEnable) {
|
if (this.captchaEnabled) {
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user